Part Number Hot Search : 
SN54LS15 2405SH3 24002 40800 KTA1360 40200 CX24171 AN8060
Product Description
Full Text Search
 

To Download W25Q256JVBIQ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  w25q256jv publication release date: september 20, 2016 revision b 3v 256 m - bit serial flash memory with dual / quad spi
w25q256jv - 1 - table of contents 1. general descriptions ................................ ................................ ................................ ............. 5 2. features ................................ ................................ ................................ ................................ ....... 5 3. package types and pi n configurations ................................ ................................ ........... 6 3.1 pad configuration wson 8x6 - mm ................................ ................................ ...................... 6 3.2 pad description wson 8x6 - mm ................................ ................................ .......................... 6 3.3 pin configuration soic 300 - mil ................................ ................................ ........................... 7 3.4 pin description soic 300 - mil ................................ ................................ ............................... 7 3.5 ball configuration tfbga 8x6 - mm (5x5 or 6x4 ball array) ................................ ................. 8 3.6 ball description tfbga 8x6 - mm ................................ ................................ ......................... 8 4. pin descriptions ................................ ................................ ................................ ........................ 9 4.1 chip select (/cs) ................................ ................................ ................................ .................. 9 4.2 serial data input, output and ios (di, do and io0, io1, io2, io3) ................................ ..... 9 4.3 serial clock (clk) ................................ ................................ ................................ ................ 9 4.4 reset (/reset) ................................ ................................ ................................ .................... 9 5 . block diagram ................................ ................................ ................................ .......................... 10 6. functional descripti ons ................................ ................................ ................................ ..... 11 6.1 spi operations ................................ ................................ ................................ ................... 11 6.1.1 standard spi instructions ................................ ................................ ................................ ..... 11 6.1.2 dual spi instructions ................................ ................................ ................................ ............ 11 6.1.3 quad spi instructions ................................ ................................ ................................ ........... 11 6.1.4 3 - byte / 4 - byte address modes ................................ ................................ ............................ 12 6.1.5 software reset & hardware /reset pin ................................ ................................ .............. 13 6.2 write protection ................................ ................................ ................................ .................. 14 7. status and configura tion registers ................................ ................................ ............ 15 7.1 status registers ................................ ................................ ................................ ................. 15 7.1.1 erase/write in progress (busy) C status only ................................ ................................ 15 7.1.2 write enable latch (wel) C status only ................................ ................................ .......... 15 7.1. 3 block protect bits (bp3, bp2, bp1, bp0) C volatile/non - volatile writable ....................... 16 7.1.4 top/bottom block protect (tb) C volatile/non - volatile writable ................................ ....... 16 7.1.5 complement protect (cmp) C volatile/non - volatile writable ................................ ............ 16 7.1.6 status register protect ( sr l ) C volatile/non - volatile writable ................................ ........ 16 7.1.7 erase/program suspend status (sus) C status only ................................ ....................... 17 7.1.8 security register lock bits (lb3, lb2, lb1) C volatile/non - volatile otp writable .......... 17 7.1.9 quad enable ( qe ) C volatile/non - volatile writable ................................ .......................... 17 7.1.10 current address mode (ads) C status only ................................ ................................ ... 18 7.1.11 power - up address mode (adp) C non - volatile writable ................................ ................ 18
w25q256jv publication release date: september 20, 2016 - 2 - revision b 7.1.12 write protect selection (wps) C volatile/non - volatile writable ................................ ..... 18 7.1.13 output driver strength (drv1, drv0) C volatile/non - volatile writable ......................... 19 7.1.14 reserved bits C non functional ................................ ................................ ...................... 19 7.1.15 w25q256jv status register memory protection (wps = 0, cmp = 0) ............................. 20 7.1.16 w25q256jv status register memory protection (wps = 0, cmp = 1) ............................. 21 7.1.17 w25q256jv individual block memory protection (wps=1) ................................ .............. 22 7.2 extended address register C volatile writable only ................................ ...................... 23 8. instructions ................................ ................................ ................................ ............................. 24 8.1 device id and instruction set tables ................................ ................................ ................. 24 8.1.1 manufacturer a nd device identification ................................ ................................ ................ 24 8.1.2 instruction set table 1 (standard/dual/quad spi, 3 - byte address mode ) (1) ....................... 25 8.1.3 instruction set table 2 (dual/quad spi instructions ,3 - byte address mode ) ....................... 26 8.1.4 instruction set table 3 (standard spi , 4 - byte address mode ) (1) ................................ .......... 27 8.1.5 instruction set table 4 (dual/quad spi instructions, 4 - byte address mode ) ...................... 28 8.2 instruction descriptions ................................ ................................ ................................ ...... 30 8.2.1 write enable (06h) ................................ ................................ ................................ ............... 30 8.2.2 write enable for volatile status register (50h) ................................ ................................ .... 30 8.2.3 write disable (04h) ................................ ................................ ................................ ............... 31 figure 7. write disable instruction for spi mode ................................ ................................ .............. 31 8.2.4 read status register - 1 (05h), status register - 2 ( 3 5h) & status register - 3 (15h) .............. 31 8.2.5 write status register - 1 (01h), status register - 2 ( 3 1h) & status register - 3 (11h) .............. 32 8.2.6 read extended address register (c8h) ................................ ................................ .............. 34 8.2.7 write extended address register (c5h) ................................ ................................ .............. 35 8.2.8 enter 4 - byte address mode (b7h) ................................ ................................ ........................ 36 8.2.9 exit 4 - byte address mode (e9h) ................................ ................................ .......................... 36 8.2.10 read data (03h) ................................ ................................ ................................ ................. 37 8.2.11 read data with 4 - byte address (13h) ................................ ................................ ................ 38 8.2.12 fast read (0bh) ................................ ................................ ................................ ................. 39 8.2.13 fast read with 4 - byte address (0ch) ................................ ................................ ................ 40 8.2.14 fast read dual output (3bh) ................................ ................................ ............................. 41 8.2.15 fast read dual output with 4 - byte address (3ch) ................................ ............................ 42 8.2.16 fast re ad quad output (6bh) ................................ ................................ ............................ 43 8.2.17 fast read quad output with 4 - byte address (6ch) ................................ ........................... 44 8.2.18 f ast read dual i/o (bbh) ................................ ................................ ................................ ... 45 8.2.19 f ast read dual i/o with 4 - byte address (bch) ................................ ................................ .. 46 8.2.20 fast read quad i/o (ebh) ................................ ................................ ................................ . 47 8.2.21 fast read quad i/o with 4 - byte address (ech) ................................ ................................ 48 8.2.22 set burst with wrap (77h) ................................ ................................ ................................ .. 49 8.2.23 page program (0 2h) ................................ ................................ ................................ ........... 50 8.2.24 page program with 4 - byte address (12h) ................................ ................................ .......... 51 8.2.25 quad input page program ( 3 2h) ................................ ................................ ........................ 52 8.2.26 quad input page program with 4 - byte address ( 3 4h) ................................ ....................... 53
w25q256jv - 3 - 8.2.27 sector erase (20h) ................................ ................................ ................................ ............. 54 8.2.28 sector erase with 4 - byte address (21h) ................................ ................................ ............. 55 8.2.29 32kb block erase (52h) ................................ ................................ ................................ ..... 56 8.2.30 64kb block erase (d8h) ................................ ................................ ................................ ..... 57 8.2.31 64kb block erase with 4 - byte address (dch) ................................ ................................ ... 58 8.2.32 chip erase (c7h / 60h ) ................................ ................................ ................................ ....... 59 8.2.33 erase / program suspend (75h) ................................ ................................ ......................... 60 8.2.34 erase / program resume (7ah) ................................ ................................ ......................... 61 8.2.35 power - down (b9h) ................................ ................................ ................................ .............. 62 8.2.36 release power - down / device id (abh) ................................ ................................ ............. 63 8.2.37 read manufacturer / device id (90h) ................................ ................................ ................. 64 8.2.38 read manufacturer / device id dual i/o (92h) ................................ ................................ ... 65 8.2.39 read manufacturer / device id quad i/o (94h) ................................ ................................ . 66 8.2.40 re ad unique id number (4bh) ................................ ................................ ........................... 67 8.2.41 read jedec id (9fh) ................................ ................................ ................................ ........ 68 8.2.42 read sfdp register (5ah) ................................ ................................ ................................ 69 8.2.43 erase security registers (44h) ................................ ................................ ........................... 70 8.2.44 program security registers (42h) ................................ ................................ ...................... 71 8.2.45 read se curity registers (48h) ................................ ................................ ........................... 72 8.2.46 individual block/sector lock (36h) ................................ ................................ ..................... 73 8.2.47 individual block/sector unlock (39h) ................................ ................................ .................. 74 8.2.48 read block/sector lock (3dh) ................................ ................................ ........................... 75 8.2.49 global block/sector lock (7eh) ................................ ................................ .......................... 76 8.2.50 global block/sector unlock (98h) ................................ ................................ ....................... 76 8.2.51 enable reset (66h) and reset device (99h) ................................ ................................ ...... 77 9. electrical character isti cs ................................ ................................ ............................... 78 9.1 absolute maximum ratings (1) ................................ ................................ .......................... 78 9.2 operating ranges ................................ ................................ ................................ ............... 78 9.3 power - up power - down timing and requirements ................................ ............................. 79 9.4 dc electrical characteristics ................................ ................................ .............................. 80 9.5 ac measurement conditions ................................ ................................ .............................. 81 9.6 ac electrical characteristics (6) ................................ ................................ ........................... 82 9.7 ac electrical characteristics (cont d) ................................ ................................ .............. 83 9.8 serial output timing ................................ ................................ ................................ ........... 84 9.9 serial input timing ................................ ................................ ................................ .............. 84 9.10 package specifications ................................ ................................ ............................ 85 9.11 8 - pad wson 8x6 - mm (package code e) ................................ ................................ ......... 85 9.12 16 - pin soic 300 - mil (package code f) ................................ ................................ ............ 86 9 .13 24 - ball tfbga 8x6 - mm (package code b, 5x5 - 1 ball array) ................................ ........... 87 9.14 24 - ball tfbga 8x6 - mm (package code c, 6x4 ball array) ................................ .............. 88 9.1 5 ordering information ................................ ................................ ................................ ........... 89
w25q256jv publication release date: september 20, 2016 - 4 - revision b 9.16 valid part numbers and top side marking ................................ ................................ ........ 90 10. revision history ................................ ................................ ................................ ...................... 91
w25q256jv - 5 - 1. general description s the w25q 256jv ( 256 m - bit) serial flash memory provide s a storage solution for systems with limited space, pins and power. the 25 q series offers flexibility and performance well beyond ordinary serial flash devices. they are ideal fo r code shadowing to ram, executing code directly from d ua l/quad spi (xip ) and storing voice, text and data. the device operate s on a single 2.7 v to 3.6 v power supply with current consumption as low as 1a for power - down. all devices are of fered in space - sa ving packages. the w25q 256jv array is organized into 131 , 072 programmable pages of 256 - bytes each. up to 256 bytes can be programmed at a time. pages can be erased in groups of 16 ( 4kb sector erase), groups of 128 (32kb block erase), groups of 256 ( 64kb bl ock erase) or the entire chip (chip erase). the w25q 256jv has 8 , 192 erasable sectors and 512 erasable blocks respectively. the small 4kb sectors allow for greater flexibility in applications that require data and parameter storage. the w25q256jv support s the standard serial peripheral interface (spi), dual/quad i/o spi: serial clock, chip select, serial data i/o0 (di), i/o1 (do), i/o2, and i/o3. spi clock frequencies of w25q 256 jv of up to 133mhz are supported allowing equivalent clock rates of 266mhz (133m hz x 2) for dual i/o and 532mhz (133mhz x 4) for quad i/o when using the fast read dual/quad i/o. these transfer rates can outperform standard asynchronous 8 and 16 - bit parallel flash memories. additionally, the device supports jedec standard manufacturer and device id and sfdp register , a 64 - bit unique serial number and three 256 - bytes security registers . 2. features ? new family of spiflash memories C w25q 256jv : 256m - bit / 32m - byte C standard spi: clk, /cs, di, do C dual spi: clk, /cs, io 0 , io 1 , C quad spi: clk, /cs, io 0 , io 1 , io 2 , io 3 C 3 or 4 - byte addressing mode C software & hardware reset ? highest performance serial flash C 133mhz standard/dual/quad spi clocks C 266 / 532 mhz equivalent dual/quad spi C 6 6 mb/s continuous data transfer rate C min. 100k program - erase cycles per sector C more than 20 - year data retention ? efficien t continuous read C quad peripheral interface C allows true xip (execute in place) operation C outperforms x16 parallel flash ? low power, wide temperature range C single 2.7 to 3.6v supp ly C <1a power - down (typ.) C - 40c to +85c operating range ? flexible architecture with 4kb sectors C uniform sector/block erase (4k/32k/64k - byte ) C program 1 to 256 byte per programmable page C erase/program suspend & resume ? advanced security features C s oftware write - protect C power supply lock - down C special otp protection C top/bottom, complement array protection C individual block/sector array protection C 64 - bit unique id for each device C discoverable parameters (sfdp) register C 3 x256 - bytes securit y registers with otp locks C volatile & non - volatile status register bits ? space efficient packaging (1) C 8 - pad wson 8x6 - mm C 16 - pin soic 300 - mil (additional /r eset pin) C 24 - ball tfbga 8x6 - mm (additional /r eset pin) C contact winbond for kgd and other opti ons note: p lease contact winbond for other packages.
w25q256jv publication release date: september 20, 2016 - 6 - revision b 3. package types and pi n configurations w25q256jv is offered in an 8 - pad wson 8x6 - mm (package code e), a 16 - pin soic 300 - mil (package code f) and two 24 - ball 8x6 - mm tfbga (package code b & c) packages as shown in figure 1a - c respectively. package diagrams and dimensions are illustrated at the end of this datasheet. 3.1 pad configuration wson 8x6 - mm figure 1 a. w25q 256jv pad assignments, 8 - pad wson 8x6 - mm (package code e) 3.2 pad description wson 8x6 - mm pad no. pad name i/o function 1 /cs i chip select input 2 do (io1) i/ o data output ( data input output 1) (1) 3 do (io1) i/ o data output ( data input output 1) (1) 4 gnd ground 5 di (io0) i/o data input ( data input output 0) (1) 6 clk i serial clock input 7 io 3 i /o data input output 3 (2) 8 vcc power supply notes: 1. io0 and io1 are used for standard and dual spi instructions 2. io0 C io3 are used for quad spi instructions (factory default for quad enabled part numbers with ordering option iq )
w25q256jv - 7 - 3.3 pin configurati on soic 300 - mil figure 1b. w25q 256jv pin assignments, 16 - pin soic 300 - mil (package code f) 3.4 pin description soic 300 - mil pin no. pin name i/o function 1 io3 i /o data input output 3 (2) 2 vcc power supply 3 /reset i reset input (3) 4 n/c no connect 5 n/c no connect 6 n/c no connect 7 /cs i chip select input 8 do (io1) i/ o data output (data input output 1) (1) 9 io2 i /o data input output 2 (2) 10 gnd ground 11 n/c no connect 12 n/c no connect 13 n/c no connect 14 n/c no connect 15 di (io 0) i /o data input (data input output 0) (1) 16 clk i serial clock input notes: 1. io0 and io1 are used for standard and dual spi instructions 2. io0 C io3 are used for quad spi instructions. 3. the /reset pin is a dedicated hardware reset pin regardless o f device settings or operation states . if the hardware reset function is not used, this pin can be left floating or connected to vcc in the syste m. 1 2 3 4 / c s d o ( i o 1 ) i o 2 g n d v c c i o 3 d i ( i o 0 ) c l k t o p v i e w n c / r e s e t n c n c n c n c n c n c 5 6 7 8 1 0 9 1 1 1 2 1 3 1 4 1 5 1 6
w25q256jv publication release date: september 20, 2016 - 8 - revision b 3.5 ball configuration tfbga 8x6 - mm (5x5 or 6x4 ball array) figure 1c. w25q256jv ball assignments, 24 - ball tfbga 6x8 - mm (package code b & c) 3.6 ball description tfbga 8x6 - mm ball no. pin name i/o function a4 /reset i reset input (3) b2 clk i serial clock input b3 gnd ground b4 vcc power supply c2 /cs i chip select input c4 io2 i /o data input output 2 (2) d2 do (io1) i/ o data output (data input output 1) (1) d3 di (io0) i /o data input (data input output 0) (1) d4 io3 i /o data input output 3 (2) multiple nc no connect notes: 1. io0 and io1 are used for standard and dual spi instruc tions 2. io0 C io3 are used for quad spi instructions (factory default for quad enabled part numbers with ordering option iq ) . 3. the /reset pin is a dedicated hardware reset pin regardless of device settings or operation states. if the hardware reset fu nction is not used, this pin can be left floating or connected to vcc in the system
w25q256jv - 9 - 4. pin descriptions 4.1 chip select (/cs) the spi chip select (/cs) pin enables and disables device operation. when /cs is high the device is deselected and the serial data outp ut (do, or io0, io1, io2, io3) pins are at high impedance. when deselected, the devices power consumption will be at standby levels unless an internal erase, program or write status register cycle is in progress. when /cs is brought low the device will be selected, power consumption will increase to active levels and instructions can be written to and data read from the device. after power - up, /cs must transition from high to low before a new instruction will be accepted. the /cs input must track the vcc su pply level at power - up and power - down (see write protection and figure 5 8). if needed a pull - up resist o r on the /cs pin can be used to accomplish this. 4.2 serial data input, output and ios (di, do and io0, io1, io2, io3) the w25q 256jv supports s tandard spi , dual spi and quad spi operation. all 8 - bit instructions are shifted into the device through di (io0) pin, address and data are shifted in and out of the device through either di & do pins for standard spi instructions, io0 & io1 pins for dual spi instruc tions, or io0 - io3 pins for quad spi instructions. 4.3 serial clock (clk) the spi serial clock input (clk) pin provides the timing for serial input and output operations. ("see spi operations") 4.4 reset (/reset ) (1) a dedicated hardware /reset pin is available on s oic - 16 and tfbga packages. when its driven low for a minimum period of ~1s, this device will terminate any external or inter nal operations and return to its power - on state. note: hardware /reset pin is available on soic - 16 or tfbga; please contact winbo nd for this package.
w25q256jv publication release date: september 20, 2016 - 10 - revision b 5. block diagram figure 2. w25q 256jv serial flash memory block diagram beginning page address ending page address w 25 q 256 jv byte address latch / counter page address latch / counter high voltage generators data write protect logic and row decode 0000 ff 00 h 0000 ffffh ? block 0 ( 64 kb ) ? 00000000 h 000000 ffh ? ? ? 007 fff 00 h 007 fffffh 007 f 0000 h 007 f 00 ffh 0080 ff 00 h 0080 ffffh 00800000 h 008000 ffh ? ? ? ? block 256 ( 64 kb ) ? ? ? ? 003000 h 0030 ffh 002000 h 0020 ffh 001000 h 0010 ffh status register write control logic column decode and 256 - byte page buffer 01 ffff 00 h 01 ffffffh 01 ff 0000 h 01 ff 00 ffh 0100 ff 00 h 0100 ffffh 01000000 h 010000 ffh 00 ffff 00 h 00 ffffffh 00 ff 0000 h 00 ff 00 ffh ? block 255 ( 64 kb ) ? ? block 128 ( 64 kb ) ? ? block 127 ( 64 kb ) ? / cs clk di ( io ) 0 do ( io ) 1 io 2 io 3 block segmentation sfdp register xx 1 f 00 h xx 1 fffh ? sector 1 ( 4 kb ) ? xx 1000 h xx 10 ffh xx 0 f 00 h xx 0 fffh ? sector 0 ( 4 kb ) ? xx 0000 h xx 00 ffh ? ? ? xxdf 00 h xxdfffh ? sector 13 ( 4 kb ) ? xxd 000 h xxd 0 ffh xxef 00 h xxefffh ? sector 14 ( 4 kb ) ? xxe 000 h xxe 0 ffh xxff 00 h xxffffh ? sector 15 ( 4 kb ) ? xxf 000 h xxf 0 ffh xx 2 f 00 h xx 2 fffh ? sector 2 ( 4 kb ) ? xx 2000 h xx 20 ffh spi command & control logic ? block 511 ( 64 kb ) ? 000000 h 0000 ffh security register 1 - 3
w25q256jv - 11 - 6. functional descripti on s 6.1 spi operations figure 3. w2 5q 256jv serial flash memory operation diagram 6.1.1 standard spi instructions the w25q 256jv is accessed through an spi compatible bus consisting of four signals: serial clock (clk), chip select ( /cs ), serial data input ( di ) and serial data output (do). standard spi instructions use the di input pin to serially write instructions, addresses or data to the device on the rising edge of clk . the do output pin is used to read data or status from the device on the falling edge of clk. spi bus operation mode 0 (0,0) a nd 3 (1,1) are supported. the primary difference between mode 0 and mode 3 concerns the normal state of the clk signal when the spi bus master is in standby and data is not being transferred to the serial flash. for mode 0 , the clk signal is normally low o n the falling and rising edges of /cs. for mode 3 , the clk signal is normally high on the falling and rising edges of /cs . 6.1.2 dual spi instructions the w25q 256jv support s dual spi operation when using instructions such as fast read dual output (3bh) and fast read dual i/o (bbh) . th ese instructions allow data to be transferred to or from the device at two to three times the rate of ordinary serial flash devices. the dual spi read i nstruction s are ideal for quickly downloading code to ram upon power - up (co de - shadowing) or for execut ing non - speed - critical code directly from the spi bus (xip) . when using dual spi instructions , the di and do pins become bidirectional i/ o pins: io0 and io1. 6.1.3 quad spi instructions the w25q256j v supports quad spi operation when us ing instructions such as fast read quad output (6bh), fast read quad i/o (ebh). these instructions allow data to be transferred to or from the device four to six times the rate of ordinary serial flash. the quad read instructions offer a significant im provement in continuous and random access transfer rates allowing fast code - shadowing to ram or execution directly from the spi bus (xip) . . p o w e r u p a d p b i t v a l u e 3 - b y t e a d d r e s s s t a n d a r d s p i d u a l s p i q u a d s p i e n a b l e 4 - b y t e ( b 7 h ) 4 - b y t e a d d r e s s s t a n d a r d s p i d u a l s p i q u a d s p i d i s a b l e 4 - b y t e ( e 9 h ) s p i r e s e t ( 6 6 h + 9 9 h ) a d p = 0 a d p = 1 d e v i c e i n i t i a l i z a t i o n & s t a t u s r e g i s t e r r e f r e s h ( n o n - v o l a t i l e c e l l s ) h a r d w a r e r e s e t
w25q256jv publication release date: september 20, 2016 - 12 - revision b 6.1.4 3 - byte / 4 - byte address modes the w25q 256jv provides two address modes that can be used to specify any byte of dat a in the memory array. the 3 - byte address mode is backward compatible to older generations of serial flash memory that only support up to 128m - bit data. to address the 256m - bit or more data in 3 - byte address mode , extended address register must be used in addition to the 3 - byte addresses . 4 - byte address mode is designed to support serial flash memory devices from 256m - bit to 32g - bit. the extended address register is not necessary when the 4 - byte address mode is enabled. upon power up, the w25q 256jv can oper ate in either 3 - byte address mode or 4 - byte address mode, depending on the non - volatile status register bit ad p (s17) setting. if ad p =0, the device will operate in 3 - byte address mode; if ad p =1, the device will operate in 4 - byte address mode. the factory d efault value for ad p is 0. to switch between the 3 - byte or 4 - byte address modes, enter 4 - byte mode (b7h) or exit 4 - byte mode (e9h) instructions must be used. the current address mode is indicated by the status register bit ad s (s16). w25q256jv also sup ports a set of basic spi instructions which requires dedicated 4 - byte address regardless the device address mode setting . please refer to instruction set table 2 for details.
w25q256jv - 13 - 6.1.5 software reset & hardware / reset pin the w25q 256jv can be reset to the initial p ower - on state by a software reset sequence in spi mode. this sequence must include two consecutive commands: enable reset (66h) & reset (99h). if the command sequence is successfully accepted, the device will take approximately 30us ( t rst ) to reset. no com mand will be accepted during the reset period. for the soic - 16 and tfbga package, w25q256jv provides a dedicated /reset pin. drive the /reset pin low for a minimum period of ~1us (treset*) will reset the device to its initial power - on state . hardware /re set pin has the highest priority among all the input signals. drive /reset low for a minimum period of ~1us (treset*) will interrupt any on - going external/internal operations, regardless the status of other spi signals (/cs, clk, ios). note: 1. while a fast er /reset pulse (as short as a few hundred nanoseconds) will often reset the device, a 1us minimum pulse is recommended to ensure reliable operation. 2. there is an internal pull - up resistor for the dedicated /reset pin on the soic - 16 package. if the reset fu nction is not used, this pin can be left floating in the system.
w25q256jv publication release date: september 20, 2016 - 14 - revision b 6.2 w rite p rotection applications that use non - volatile memory must take into consideration the possibility of noise and other adverse system conditions that may compromise data integrity. to address this concern , the w25q 256jv provides several means to protect the data from inadvertent writes. ? device resets when vcc is below threshold ? time delay write disable after power - up ? write enable/disable instructions and a ut omatic write disable after e rase or program ? software write p r otection using status registers ? additional individual block/sector locks for array protection ? write protection using power - down instruction ? lock down write protection for status register until the next power - up ? one time pr ogram (otp) write protection for array * and security register s using status register * * note : this feature is available upon special order. please contact winbond for details. upon power - up or at power - down , the w25q 256jv will maintain a reset condition w hile vcc is below the threshold value of v wi , (see power - up timing and voltage levels and figure 43 ). while reset, all operations are disabled and no instructions are recognized. during power - up and after the vcc voltage exceeds v wi , all program and erase related instructions are further disabled for a time delay of t puw . this includes the write enable, page program, sector erase, block erase, chip erase and the write status register instructions. note that the chip select pin ( /cs ) must track the vcc suppl y level at power - up until the vcc - min level and t vsl time delay is reached , and it must also track the vcc supply level at power - down to prevent adverse command sequence . if needed, a pull - up resistor on /cs pin can be used to accomplish this. after power - up the device is automatically placed in a write - disabled state with the status register write enable latch (wel) set to a 0. a write enable instruction must be issued before a page program, sector erase, block erase, chip erase or write status register i nstruction will be accepted. after completing a program, erase or write instruction the write enable latch (wel) is automatically cleared to a write - disabled state of 0. software controlled write protection is facilitated using the write status register in struction and setting the status register protect ( srl ) and block protect ( cmp , tb, bp [ 3 :0] ) bits. these settings allow a portion or the entire memory array to be configured as read only. see status register section for further information. additionally, t he power - down instruction offers an extra level of write protection as all instructions are ignored except for the release power - down instruction. the w25q 256jv also provides another write protect method using the individual block locks. each 64kb block (e xcept the top and bot tom blocks , total of 510 blocks ) and each 4kb sector within the top/bottom blocks (total of 32 sectors) are equipped with an individual block lock bit. when the lock bit is 0, the corresponding sector or block can be erased or programm ed; when the lock bit is set to 1, erase or program commands issued to the corresponding sector or block will be ignored. when the device is powered on, all individual block lock bits will be 1, so the entire memory array is protected from erase/program. a n individual block unl ock (39h) instruction must be issued to unlock any specific sector or block. the wps bit in status register - 3 is used to decide which write protect scheme should be used. when wps=0 (factory default), the device will only utilize cm p, tb, bp[3:0] bits to protect specific areas of the arra y; when wps=1, the device will utilize the individual block locks for write protection.
w25q256jv - 15 - 7. status and configuration registers three status and configuration registers are provided for w25q 256jv . the re ad status register - 1/ 2 /3 instruction s can be used to provide sta tus on the availability of the flash memory array, whether the device is write enabled or disabled, t he state of write protection , quad spi s e tting , se curity register lock status, erase/progr am suspend status , output driver strength, power - up and current address mode . the write status register instruction can be used to configure the device write protection features , quad spi sett i ng , security register otp lock s functions, output driver stren gth and power - up address mode . write access to the status register is controlled by the state of the non - volatile s tatus register lock bits (srl ) , and the write enable instruction . 7.1 status registers figure 4 a . status reg ister - 1 7.1.1 erase/write in progress ( busy ) C status only busy is a read only bit in the status register (s0) that is set to a 1 state when the device is executing a page program, quad page program, sector erase, block erase, chip erase, write status register or erase/program security register instruction. during this time the device will ignore further instructions except for the read status register and erase /program suspend instruction (see t w , t pp , t se , t b e , and t c e in ac characteristics). when the program , erase or write status /security register instruction has completed, the busy bit will be cleared to a 0 state indicating the device is ready for further instructions. 7.1.2 write enable latch (wel) C status only write enable latch (wel) is a read only bit in t he statu s register (s1) that is set to 1 after executing a write enable instruction. th e wel status bit is cleared to 0 when the device is write disabled. a write disable state occurs upon power - up or after any of the following instructions: write disable, page program, quad page program, sector erase, block erase, chip erase, write status register , erase security register and program security register . s 7 s 6 s 5 s 4 s 3 s 2 s 1 s 0 (r) tb bp 3 bp 2 bp 1 bp 0 wel busy reser v ed top / bottom protect bit ( volatile / non - volatile writable ) block protect bits ( volatile / non - volatile writable ) write enable latch ( status s - only ) erase / write in progress ( status s - only )
w25q256jv publication release date: september 20, 2016 - 16 - revision b 7.1.3 block protect bits ( bp3, bp2, bp1, bp0) C volatile/non - volatile writable the block protect bits ( bp3, bp2 , bp1, bp0 ) are non - volatile read/write bits in the status register ( s5, s4, s3, and s2 ) that provide write protection control and status. block protect bits can be set using the write status register instruction (see t w in ac characteristics). all, none o r a portion of the memory array can be protected from program and erase instructions (see status register memory protection table). the factory default setting for the block protection bits is 0, none of the array protected. 7.1.4 top/bottom block protect (tb) C volatile/non - volatile writable the non - volatile top/bottom bit (tb) controls if the block protect bits ( bp3, bp2, bp1, bp0) protect from the top (tb=0) or the bottom (tb=1) of the array as shown in the status register memory protection table. the f actory default setting is tb=0. the tb bit can be set with the write status register instruction depending on the state of the wel bits. 7.1.5 complement protect (cmp) C volatile/non - volatile writable the c omplement p rotect bit (cmp) is a non - volatile read/write bit in the status register (s14). it is used in conjunction with tb, bp3, bp2, bp1 and bp0 bits to provide more flexibility for the array protection. once cmp is set to 1, previo us array protection set by tb, bp3, bp2, bp1 and bp0 will be reversed. for instanc e, when cmp=0, a top 6 4kb block can be protected while the rest of the array is not; when cmp=1, the top 6 4kb block will become unprotected while the rest of the array become read - only. please refer to the status register memory protection table for detail s. the default setting is cmp =0. 7.1.6 status register protect ( sr l ) C volatile/non - volatile writable the status register lock bit (srl) is a volatile/non - volatile read/write bit in the status register (s8) . the srl bit controls the method of write protection to the status registers : temporary power lock - down or permanently one time p rogram otp . srl status register lock description 0 non - lock status register is unlocked 1 lock - down (1) (temporary/volatile) status register is locked by standard status re gister write command and cant be written to again until the next power - down, power - up cycle. one time program (2) (permanently/non - volatile) status register is permanently locked by special command flow* and cant be written to 1. when sr l = 1 , a p ower - down, power - up cycle will change sr l = 0 state. 2. please contact winbond for details.
w25q256jv - 17 - figure 4 b . status register - 2 7.1.7 erase/program suspend status (sus) C status only the suspend status bit is a read only bit in the sta tus register (s15) that is set to 1 after executing a erase/program suspend (75h) instruction. the sus status bit is cleared to 0 by erase/program resume (7ah) instr uction as well as a power - down, power - up cycle. 7.1.8 security register lock bits (lb3, lb2, lb1 ) C volatile/non - volatile otp writable the security regist er lock bits (lb3, lb2, lb1 ) are non - volatile one time program (otp) bits in sta tus register (s13, s12, s11 ) that provide the write protect control and status to the security registers . t he default s tate of lb3 - 1 is 0, securi ty registers are unlocked. lb3 - 1 can be set to 1 individually using the write status register instruction. lb3 - 1 are one time programmable (otp), once its set to 1, the corresponding 256 - byte security register will become read - on ly permanently. 7.1.9 quad enable ( qe ) C volatile/non - volatile writable the quad enable (qe ) bit is set to 1 by default in the factory, therefore the device supports standard/dual spi as well as quad spi after power on . this bit cannot be reset to 0. s 15 s 14 s 13 s 12 s 11 s 10 s 9 s 8 sus cmp lb 3 lb 2 lb 1 ( r ) qe sr l status register protect 1 ( volatile / non - volatile writable ) complement protect ( volatile / non - volatile writable ) security register lock bits ( volatile / non - volatile otp writable ) reserved quad enable ( volatile / non - volatile writable ) suspend status ( status - only )
w25q256jv publication release date: september 20, 2016 - 18 - revision b figure 4 c . status register - 3 7.1.10 current address mode (ad s ) C status only the current address mode bit is a read only bit in the status register - 3 that indicates which address mode the device is currently operating in . when ad s =0, the dev ice is in the 3 - byte address mode, when ad s =1, the device is in the 4 - byte address mode. 7.1.11 power - up address mode (ad p ) C non - volatile writable the ad p bit is a non - volatile bit that determines the initial address mo de when the device is powered on or reset . this bit is only used during the power on or device reset initialization period, and it is only writable by the non - volatile write status sequence (06h + 11h). when adp=0 (factory default), the device will power up into 3 - byte address mode, the extended ad dress register must be used to access memory regions beyond 128mb. when adp=1, the device will power up into 4 - byte address mode directly. 7.1.12 write protect selection (wp s) C volatile/non - volatile writable the wps bit is used to select which write protect sche me should be used . when wps=0, the device will use the combination of cmp, tb, bp[3:0] bits to protect a specific area of the memory array. when wps=1, the device will utilize the individual block locks to protect any individual sector or blocks. the defau lt value for all individual block lock bits is 1 upon device power on or after reset. s 23 s 22 s 21 s 20 s 19 s 18 s 17 s 16 drv 1 drv 0 ( r ) wps adp ads power up address mode ( non - volatile writable ) output driver strength ( volatile / non - volatile writable ) reserved write protect selection ( volatile / non - volatile writable ) current address mode ( status - only ) ( r ) ( r ) reserved
w25q256jv - 19 - 7.1.13 output driver strength (drv1, drv0) C volatile/non - volatile writable the drv1 & drv0 bits are used to determine the output driver strength for the read operations . drv1, drv0 driver strength 0, 0 100% 0, 1 75% 1, 0 50% 1, 1 25% (default setting) 7.1.14 reserved bits C non functional there are a few reserved status register bits that may be read out as a 0 or 1. it is recommended to ignore the values of those bits. during a write status register instruction, the reserved bits can be written as 0, but there will not be any effects.
w25q256jv publication release date: september 20, 2016 - 20 - revision b 7.1.15 w25q 256jv s tatus register memory protection ( wps = 0 , cmp = 0 ) status register (1) w25q 256jv ( 256 m - bit / 32m - byte ) memory protection (2 ) tb bp3 bp2 bp1 bp0 protected block(s) protected addresses protected density protected portion x 0 0 0 0 none none none none 0 0 0 0 1 511 01ff0000h - 01ffffffh 64 kb upper 1/ 512 0 0 0 1 0 510 thru 511 01fe0000h - 01ffffffh 128kb upper 1/256 0 0 0 1 1 508 thru 511 01fc0000h - 01ffffffh 256kb upper 1/128 0 0 1 0 0 504 thru 511 01f80000h - 01ffffffh 512kb upper 1/64 0 0 1 0 1 496 thru 511 01f00000h - 01ffffffh 1mb upper 1/32 0 0 1 1 0 480 thru 511 01e00000h - 01ffffffh 2mb upper 1/16 0 0 1 1 1 448 thru 511 01c00000h - 01ffffffh 4mb upper 1/8 0 1 0 0 0 384 thru 511 01800000h - 01ffffffh 8mb upper 1/4 0 1 0 0 1 256 thru 511 01000000h - 01ffffffh 16mb upper 1/2 1 0 0 0 1 0 00000000h - 0000ffffh 64kb lower 1/512 1 0 0 1 0 0 thru 1 00000000h - 0001ff ffh 128kb lower 1/256 1 0 0 1 1 0 thru 3 00000000h - 0003ffffh 256kb lower 1/128 1 0 1 0 0 0 thru 7 00000000h - 0007ffffh 512kb lower 1/64 1 0 1 0 1 0 thru 15 00000000h - 000fffffh 1mb lower 1/32 1 0 1 1 0 0 thru 31 00000000h - 001fffffh 2mb lower 1/16 1 0 1 1 1 0 thru 63 00000000h - 003fffffh 4mb lower 1/8 1 1 0 0 0 0 thru 127 00000000h - 007fffffh 8mb lower 1/4 1 1 0 0 1 0 thru 255 00000000h - 00ffffffh 16mb lower 1/2 x 1 1 0 x 0 thru 511 00000000h - 01ffffffh 32mb all x 1 x 1 x 0 thru 511 000000 00h - 01ffffffh 32mb all note s : 1. x = dont care 2. if any erase or program command specifies a memory region that contains protected data portion, this command will be ignored.
w25q256jv - 21 - 7.1.16 w25q 256jv status register memory protection ( wps = 0, cmp = 1) status register ( 1) w25q 256jv (256m - bit / 32m - byte ) memory protection (2) tb bp3 bp2 bp1 bp0 protected block(s) protected addresses protected density protected portion x 0 0 0 0 all 00000000h - 01ffffffh all all 0 0 0 0 1 0 thru 510 00000000 h - 01feffffh 32,704kb lower 5 11/512 0 0 0 1 0 0 thru 509 00000000 h - 01fdffffh 32,640kb lower 255/256 0 0 0 1 1 0 thru 507 00000000 h - 01fbffffh 32,512kb lower 127/128 0 0 1 0 0 0 thru 503 00000000 h - 01f7ffffh 32,256kb lower 63/64 0 0 1 0 1 0 thru 495 00000000 h - 01 e fffffh 31mb l ower 31/32 0 0 1 1 0 0 thru 479 00000000 h - 01 d fffffh 30mb lower 15/16 0 0 1 1 1 0 thru 447 00000000 h - 01 b fffffh 28mb lower 7/8 0 1 0 0 0 0 thru 383 00000000 h - 01 7 fffffh 24mb lower 3/4 0 1 0 0 1 0 thru 255 0 0 000000h - 0 0 ffffffh 16mb lower 1/2 1 0 0 0 1 1 thru 511 000 1 0000h - 0 1ff ffffh 32,704kb upper 511/512 1 0 0 1 0 2 thru 51 1 000 2 0000h - 01ffffff h 32,640kb upper 255/256 1 0 0 1 1 4 thru 511 000 4 0000h - 01ffffff h 32,512kb upper 127/128 1 0 1 0 0 8 thru 511 000 8 0000h - 01ffffff h 32,256kb upper 63/ 64 1 0 1 0 1 16 thru 511 00 1 00000h - 01ffffff h 31mb upper 31/32 1 0 1 1 0 32 thru 511 00 2 00000h - 01ffffff h 30mb upper 15/16 1 0 1 1 1 64 thru 511 00 4 00000h - 01ffffff h 28mb upper 7/8 1 1 0 0 0 128 thru 511 00 8 00000h - 01ffffff h 24mb upper 3/4 1 1 0 0 1 256 thru 511 0 1 000000h - 0 1 ffffffh 16mb upper 1/2 x 1 1 0 x none none none none x 1 x 1 x none none none none note s : 1. x = dont care 2. if any erase or program command specifies a memory region that contains protected data portion, this command will be ignored.
w25q256jv publication release date: september 20, 2016 - 22 - revision b 7.1.17 w25q 256jv individual block memory protection (wps=1) figure 4 d . individual block/sector locks note s : 1. individual block/sector protection is only valid when wps=1. 2. all individual block/sector lock bits are set to 1 by default after power up, all memory array is protected. s e c t o r 0 ( 4 k b ) s e c t o r 1 ( 4 k b ) s e c t o r 1 4 ( 4 k b ) s e c t o r 1 5 ( 4 k b ) b l o c k 1 ( 6 4 k b ) b l o c k 5 1 0 ( 6 4 k b ) s e c t o r 0 ( 4 k b ) s e c t o r 1 ( 4 k b ) s e c t o r 1 4 ( 4 k b ) s e c t o r 1 5 ( 4 k b ) b l o c k 0 ( 6 4 k b ) b l o c k 5 1 1 ( 6 4 k b ) i n d i v i d u a l b l o c k l o c k s : 3 2 s e c t o r s ( t o p / b o t t o m ) 5 1 0 b l o c k s i n d i v i d u a l b l o c k l o c k : 3 6 h + a d d r e s s i n d i v i d u a l b l o c k u n l o c k : 3 9 h + a d d r e s s r e a d b l o c k l o c k : 3 d h + a d d r e s s g l o b a l b l o c k l o c k : 7 e h g l o b a l b l o c k u n l o c k : 9 8 h
w25q256jv - 23 - 7.2 extended address register C volatile writable only in addition to the status registers, w25q 256jv provides a volatile extended address register which consists of the 4 th byte of memory address . the extended address registe r is used only when the device is operating in the 3 - byte address mode (ads=0) . the lower 128mb memory array (00000 000h C 00ffffffh) is selected when a24=0, all instructions with 3 - byte addresses will be executed within that region. when a24=1, the upper 1 28mb memory array (01000000h C 01ffffffh) will be selected. if the device powers up with adp bit set to 1, or an enter 4 - byte address mode (b7h) instruction is issued, the device will require 4 - byte address input for all address related instructions, and the extended address register setting will be ignored. however, any command with 4 - byte address input will replace the extended address register bits (a31 - a24) with new settings. upon power up or after the execution of a software/hardware reset, the exten ded address register values will be cleared to 0 . figure 4 e . extended address register e a 7 e a 6 e a 5 e a 4 e a 3 e a 2 e a 1 e a 0 a 3 1 a 3 0 a 2 9 a 2 8 a 2 7 a 2 6 a 2 5 a 2 4 r e s e r v e d f o r h i g h e r d e n s i t i e s 5 1 2 m b ~ 3 2 g b ( v o l a t i l e w r i t a b l e o n l y ) a d d r e s s b i t # 2 4 a 2 4 = 0 : s e l e c t l o w e r 1 2 8 m b a 2 4 = 1 : s e l e c t u p p e r 1 2 8 m b ( v o l a t i l e w r i t a b l e o n l y )
w25q256jv publication release date: september 20, 2016 - 24 - revision b 8. instructions the standard/dual/quad spi instruction set of the w25q 256jv consists of 48 basic instructions that are fully controlled through the spi bus (see in struction set table1 - 4 ). instructions are initiated with the falling edge of chip select (/cs). the first byte of data clocked into the di input provides the instruction code. data on the di input is sampled on the rising edge of clock with most significan t bit (msb) first. instructions vary in length from a single byte to several bytes and may be followed by address bytes, data bytes, dummy bytes (dont care), and in some cases, a combination. instructions are completed with the rising edge of edge /cs. cl ock relative timing diagrams for each instruction are included in figures 5 through 57. all read instructions can be completed after any clocked bit. however, all instructions that write, program or erase must complete on a byte boundary (/cs driven high a fter a full 8 - bits have been clocked) otherwise the instruction will be ignored. this feature further protects the device from inadvertent writes. additionally, while the memory is being programmed or erased, or when the status register is being written, a ll instructions except for read status register will be ignored until the program or erase cycle has completed. 8.1 device id and instruction set tables 8.1.1 manufacturer and device identification manufacturer id (mf7 - mf0) winbond serial flash ef h device i d (id7 - id0) (id15 - id0) instruction abh, 90h, 92h, 94h 9fh w25q256jv 18h 4 019h
w25q256jv - 25 - 8.1.2 instruction set table 1 (standard/dual/quad spi, 3 - byte address m ode ) (1) data input output byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 number of clock (1 - 1 - 1) 8 8 8 8 8 8 8 write enable 06h volatile sr write enable 50h write disable 04h release power - down / id abh dummy dummy dummy (id7 - id0) (2) manufacturer/device id 90h dummy dummy 00h (mf7 - mf0) (id7 - id0) jedec id 9fh (mf7 - mf0) (id15 - id8) (id7 - id0) rea d unique id 4bh dummy dummy dummy dummy ( uid63 - 0 ) read data 03h a23 - a16 a15 - a8 a7 - a0 (d7 - d0) read data with 4 - byte address 13h a31 - a24 a23 - a16 a15 - a8 a7 - a0 (d7 - d0) fast read 0bh a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0) fast read with 4 - byte address 0ch a 31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0) page program 02h a23 - a16 a15 - a8 a7 - a0 d7 - d0 d7 - d0 (3) page program with 4 - byte address 12h a31 - a24 a23 - a16 a15 - a8 a7 - a0 d7 - d0 d7 - d0 (3) sector erase (4kb) 20h a23 - a16 a15 - a8 a7 - a0 sector erase (4kb) with 4 - byte add ress 21h a31 - a24 a23 - a16 a15 - a8 a7 - a0 block erase (32kb) 52h a23 - a16 a15 - a8 a7 - a0 block erase (64kb) d8h a23 - a16 a15 - a8 a7 - a0 block erase (64kb) with 4 - byte address dch a31 - a24 a23 - a16 a15 - a8 a7 - a0 chip erase c7h /60h read status register - 1 05 h (s7 - s0) (2) write status register - 1 (4) 01h (s7 - s0) (4) read status register - 2 35h (s15 - s8) (2) write status register - 2 31h (s15 - s8) read status register - 3 15h (s23 - s16) (2) write status register - 3 11h (s23 - s16) read extended addr. reg . c8h (ea7 - e a0) (2) write extended addr. reg . c5h (ea7 - ea0) read sfdp register 5ah a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0) erase security register (5) 44h a23 - a16 a15 - a8 a7 - a0 program security register (5) 42h a23 - a16 a15 - a8 a7 - a0 d7 - d0 d7 - d0 (3) read security regist er (5) 48h a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0) global block lock 7eh global block unlock 98h read block lock 3dh a23 - a16 a15 - a8 a7 - a0 (l7 - l0) individual block lock 36h a23 - a16 a15 - a8 a7 - a0 individual block unlock 39h a23 - a16 a15 - a8 a7 - a0 erase / program suspend 75h erase / program resume 7ah power - down b9h enter 4 - byte address mode b7h exit 4 - byte address mode e9h enable reset 66h reset device 99h
w25q256jv publication release date: september 20, 2016 - 26 - revision b 8.1.3 instruction set table 2 (dual/quad spi instructions ,3 - byte address m ode ) data input o utput byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 byte 9 byte 10 number of clock (1 - 1 - 2) 8 8 8 8 4 4 4 4 4 4 fast read dual output 3bh a23 - a16 a15 - a8 a7 - a0 dummy dummy (d7 - d0 ) (7 ) fast read dual output with 4 - byte address 3ch a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy dummy (d7 - d0 ) (7) number of clock (1 - 2 - 2) 8 4 4 4 4 4 4 4 4 4 mftr./device id dual i/o 92h a23 - a16 a15 - a8 00 dummy (11) (mf7 - mf0) (id7 - id0) fast read dual i/o bbh a23 - a16 a15 - a8 a7 - a0 dummy (11) (d7 - d0 ) fast read dual i/o with 4 - byte address bch a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (11) (d7 - d0) number of clock ( 1 - 1 - 4) 8 8 8 8 2 2 2 2 2 2 quad input page program 32h a23 - a16 a15 - a8 a7 - a0 (d7 - d0) ( 9 ) (d7 - d0) ( 3 ) quad page program with 4 - byte address 34h a31 - a24 a23 - a16 a 15 - a8 a7 - a0 d7 - d0 fast read quad output 6bh a23 - a16 a15 - a8 a7 - a0 dummy dummy dummy dummy (d7 - d0) ( 9 ) fast read quad output with 4 - byte address 6ch a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy dummy dumm y dumm y ( d7 - d0) ( 9 ) number of clock (1 - 4 - 4) 8 2 2 2 2 2 2 2 2 2 mftr./device id quad i/o 94h a23 - a16 a15 - a8 00 dummy (11) dummy dummy (mf7 - mf0) (id7 - id0) fast read quad i/o ebh a23 - a16 a15 - a8 a7 - a0 dummy (11) dummy dummy (d7 - d0) fast read quad i/o with 4 - byte address ech a31 - a24 a23 - a16 a15 - a8 a7 - a0 f dummy (11) dummy dummy (d7 - d0) set burst with wrap 77h dummy dummy dummy w 7 - w0
w25q256jv - 27 - 8.1.4 instruction set table 3 ( standard spi , 4 - byte address mode ) (1) data input output byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 number of clock (1 - 1 - 1) 8 8 8 8 8 8 8 writ e enable 06h volatile sr write enable 50h write disable 04h release power - down / id abh dummy dummy dummy (id7 - id0) (2) manufacturer/device id 90h dummy dummy 00h (mf7 - mf0) (id7 - id0) jedec id 9fh (mf7 - mf0) (id15 - id8) (id7 - id0) read unique id 4 bh dummy dummy dummy dummy dummy ( uid63 - 0 ) read data 03h a23 - a16 a15 - a8 a7 - a0 (d7 - d0) read data with 4 - byte address 13h a31 - a24 a23 - a16 a15 - a8 a7 - a0 (d7 - d0) fast read 0bh a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0) fast read with 4 - byte address 0ch a 31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0) page program 02h a31 - a24 a23 - a16 a15 - a8 a7 - a0 d7 - d0 d7 - d0 (3) page program with 4 - byte address 12h a31 - a24 a23 - a16 a15 - a8 a7 - a0 d7 - d0 d7 - d0 (3) sector erase (4kb) 20h a31 - a24 a23 - a16 a15 - a8 a7 - a0 sector erase (4 kb) with 4 - byte address 21h a31 - a24 a23 - a16 a15 - a8 a7 - a0 block erase (32kb) 52h a31 - a24 a23 - a16 a15 - a8 a7 - a0 block erase (64kb) d8h a31 - a24 a23 - a16 a15 - a8 a7 - a0 block erase (64kb) with 4 - byte a ddress dch a31 - a24 a23 - a16 a15 - a8 a7 - a0 chip erase c7h /60h read status register - 1 05h (s7 - s0) (2) write status register - 1 (4) 01h (s7 - s0) (4) read status register - 2 35h (s15 - s8) (2) write status register - 2 31h (s15 - s8) read status register - 3 15h (s23 - s16) (2) write status register - 3 11h (s23 - s16) rea d extended addr. reg . c8h (ea7 - ea0) (2) write extended addr. reg . c5h (ea7 - ea0) read sfdp register 5ah a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0) erase security register (5) 44h a31 - a24 a23 - a16 a15 - a8 a7 - a0 program security register (5) 42h a31 - a24 a23 - a16 a 15 - a8 a7 - a0 d7 - d0 d7 - d0 (3) read security register (5) 48h a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0) global block lock 7eh global block unlock 98h read block lock 3dh a31 - a24 a23 - a16 a15 - a8 a7 - a0 (l7 - l0) individual block lock 36h a31 - a24 a23 - a16 a15 - a8 a7 - a0 individual block unlock 39h a31 - a24 a23 - a16 a15 - a8 a7 - a0 erase / program suspend 75h erase / program resume 7ah power - down b9h enter 4 - byte address mode b7h exit 4 - byte address mode e9h enable reset 66h reset device 99h
w25q256jv publication release date: september 20, 2016 - 28 - revision b 8.1.5 instruct ion set table 4 (dual/quad spi instructions , 4 - byte address mode ) data input output byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 byte9 number of clock (1 - 1 - 2) 8 8 8 8 8 8 4 4 fast read dual output 3bh a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0 , ) (7) fast read dual output with 4 - byte address 3ch a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (d7 - d0 , ) (7) number of clock (1 - 2 - 2) 8 4 4 4 4 4 4 4 mftr./device id dual i/o 92h a31 - a24 a23 - a16 a15 - a8 00 dummy (11) (mf7 - mf0) (id7 - id0) fast read dual i/o bbh a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (11) (d7 - d0 ) fast read dual i/o with 4 - byte address bch a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (11) (d7 - d0) number of clock ( 1 - 1 - 4) 8 8 8 8 8 4 4 4 quad input page p rogram 32h a31 - a24 a23 - a16 a15 - a8 a7 - a0 (d7 - d0) ( 9 ) (d7 - d0) ( 3 ) .. quad page program with 4 - byte address 34h a31 - a24 a23 - a16 a15 - a8 a7 - a0 d7 - d0 d7 - d0 d7 - d0 d7 - d0 fast read quad output 6bh a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy dummy (d7 - d0) ( 9 ) fast read quad output with 4 - byte address 6ch a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy dummy (d7 - d0) ( 9 ) number of clock (1 - 4 - 4) 8 2 2 2 2 2 4 2 2 mftr./device id quad i/o 94h a31 - a24 a23 - a16 a15 - a8 00 dummy (11) dummy (mf7 - mf0) ( i d7 - i d0) fast read quad i/o ebh a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (11) dummy (d7 - d0) fast read quad i/o with 4 - byte address ech a31 - a24 a23 - a16 a15 - a8 a7 - a0 dummy (11) dummy (d7 - d0) set burst with wrap 77h dummy dummy dummy dummy w 7 - w0
w25q256jv - 29 - notes: 1. data bytes are shifted with most significant bit first. byte fields with data in parenthesis ( ) i ndicate data output from the device on either 1, 2 or 4 io pins. 2. the status register contents and device id will repeat continuously until /cs terminates the instruction. 3. at least one byte of data input is required for page program, quad page program and p rogram security registers, up to 256 bytes of data input. if more than 256 bytes of data are sent to the device, the addressing will wrap to the beginning of the page and overwrite previously sent data. 4. write status register - 1 (01h) can also be used to pro gram status register - 1&2, see section 8.2.5. 5. security register address: security register 1: a23 - 16 = 00h; a15 - 8 = 10h; a7 - 0 = byte address security register 2: a23 - 16 = 00h; a15 - 8 = 20h; a7 - 0 = byte address security reg ister 3: a23 - 16 = 00h; a15 - 8 = 30h; a7 - 0 = byte address 6. dual spi address input format: io0 = a22, a20, a18, a16, a14, a12, a10, a8 a6, a4, a2, a0, m6, m4, m2, m0 io1 = a23, a21, a19, a17, a15, a13, a11, a9 a7, a5, a3, a1, m7, m5, m 3, m1 7. dual spi data output format: io0 = (d6, d4, d2, d0) io1 = (d7, d5, d3, d1) 8. quad spi address input format: set burst with wrap input format: io0 = a20, a16, a12, a8, a4, a0, m4, m0 io0 = x, x, x, x, x, x, w4, x io1 = a21, a17, a13, a9, a5, a1, m5, m1 io1 = x, x, x, x, x, x, w5, x io2 = a22, a18, a14, a10, a6, a2, m6, m2 io2 = x, x, x, x, x, x, w6, x io3 = a23, a19, a15, a11, a7, a3, m7, m3 io3 = x, x, x, x, x, x, x, x 9. quad spi data input/output format: io0 = (d4, d0, ..) io1 = (d5, d1, ..) io2 = (d6, d2, ..) io3 = (d7, d3, ..) 10. fast read quad i/o data output format: io0 = (x, x, x , x, d4, d0, d4, d0) io1 = (x, x, x, x, d5, d1, d5, d1) io2 = (x, x, x, x, d6, d2, d6, d2) io3 = (x, x, x, x, d7, d3, d7, d3) 11. the first dummy is m7 - m0 should be set to ffh
w25q256jv publication release date: september 20, 2016 - 30 - revision b 8.2 instruction descriptions 8.2.1 write enable (06h) the write enable instruction (figure 5) sets the write enable latch (wel) bit in the status register to a 1. the wel bit must be set prior to every page program, quad page program, sector erase, block erase, chip erase, write status register and erase/program secur ity registers instruction. the write enable instruction is entered by driving /cs low, shifting the instruction code 06h into the data input (di) pin on the rising edge of clk, and then driving /cs high. figure 5. write enable instruction 8.2.2 write ena ble for volatile status register (50h) the non - volatile status register bits described in section 7.1 can also be written to as volatile bits. this gives more flexibility to change the system configuration and memory protection schemes quickly without wait ing for the typical non - volatile bit write cycles or affecting the endurance of the status register non - volatile bits. to write the volatile values into the status register bits, the write enable for volatile status register (50h) instruction must be issue d prior to a write status register (01h) instruction. write enable for volatile status register instruction (figure 6) will not set the write enable latch (wel) bit, it is only valid for the write status register instruction to change the volatile status r egister bit values. figure 6. write enable for volatile status register instruction /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 mode 0 mode 3 instruction (06h) high impedance /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 mode 0 mode 3 instruction (50h) high impedance
w25q256jv - 31 - 8.2.3 write disable (04h) the write disable instruction (figure 7) resets the write enable latch (wel) bit in the status register to a 0. the write disable instruction is e ntered by driving /cs low, shifting the instruction code 04h into the di pin and then driving /cs high. note that the wel bit is automatically reset after power - up and upon completion of the write status register, erase/program security registers, page p rogram, quad page program, sector erase, block erase, chip erase and reset instructions. figure 7. write disable instruction for spi mode 8.2.4 read status register - 1 (05h), status register - 2 ( 3 5h) & status register - 3 (15h) the read status register instr uctions allow the 8 - bit status registers to be read. the instruction is entered by driving /cs low and shifting the instruction code 05h for status register - 1, 35h for status register - 2 or 15h for status register - 3 into the di pin on the rising edge of clk. the status register bits are then shifted out on the do pin at the falling edge of clk with most significant bit (msb) first as shown in figure 8. refer to section 7.1 for status register descriptions. the read status register instruction may be u sed at any time, even while a program, erase or write status register cycle is in progress. this allows the busy status bit to be checked to determine when the cycle is complete and if the device can accept another instruction. the status register can be r ead continuously, as shown in figure 8. the instruction is completed by driving /cs high. figure 8. read status register instruction /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 mode 0 mode 3 instruction (04h) high impedance / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 0 5 h / 3 5 h / 1 5 h ) h i g h i m p e d a n c e 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 s t a t u s r e g i s t e r - 1 / 2 / 3 o u t s t a t u s r e g i s t e r - 1 / 2 / 3 o u t * * = m s b *
w25q256jv publication release date: september 20, 2016 - 32 - revision b 8.2.5 write status register - 1 (01h), status register - 2 ( 3 1h) & status register - 3 (11h) the write status register instructi on allows the status registers to be written. the writable status register bits include: tb, bp[3:0] in status register - 1; cmp, lb[3:1], qe, srl in status register - 2;, drv1, drv0, wps & adp in status register - 3. all other status register bit locations are read - only and will not be affected by the write status register instruction. lb[3:1] are non - volatile otp bits, once it is set to 1, it cannot be cleared to 0. to write non - volatile status register bits, a standard write enable (06h) instruction must prev iously have been executed for the device to accept the write status register instruction (status register bit wel must equal 1). once write enabled, the instruction is entered by driving /cs low, sending the instruction code 01h/31h/11h, and then writing the status register data byte as illustrated in figure 9a. to write volatile status register bits, a write enable for volatile status register (50h) instruction must have been executed prior to the write status register instruction (status register bit we l remains 0). however, srl and lb[3:1] cannot be changed from 1 to 0 because of the otp protection for these bits. upon power off or the execution of a software/hardware reset, the volatile status register bit values will be lost, and the non - volatile status register bit values will be restored. during non - volatile status register write operation (06h combined with 01h/31h/11h), after /cs is driven high, the self - timed write status register cycle will commence for a time duration of t w (see ac character istics). while the write status register cycle is in progress, the read status register instruction may still be accessed to check the status of the busy bit. the busy bit is a 1 during the write status register cycle and a 0 when the cycle is finished and ready to accept other instructions again. after the write status register cycle has finished, the write enable latch (wel) bit in the status register will be cleared to 0. during volatile status register write operation (50h combined with 01h/31h/11h), af ter /cs is driven high, the status register bits will be refreshed to the new values within the time period of t shsl2 (see ac characteristics). busy bit will remain 0 during the status register bit refresh period. refer to section 7.1 for status register d escriptions. figure 9a. write status register - 1/2/3 instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 0 1 h / 3 1 h / 1 1 h ) h i g h i m p e d a n c e 8 9 1 0 1 1 1 2 1 3 1 4 1 5 7 6 5 4 3 2 1 0 r e g i s t e r - 1 / 2 / 3 i n m o d e 0 m o d e 3 * = m s b *
w25q256jv - 33 - the w25q 256jv is also backward compatible to winbonds previous generations of serial flash memories, in which the status register - 1&2 can be written using a s ingle write status register - 1 (01h) command. to complete the write status register - 1&2 instruction, the /cs pin must be driven high after the sixteenth bit of data that is clocked in as shown in figure 9 b . if /cs is driven high after the eighth clock, th e write status register - 1 (01h) instruction will only program the status register - 1, the status register - 2 will not be affected (previous generations will clear cmp and qe bits). figure 9 b . write status register - 1/2 instruction /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (01h) high impedance 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 status register 1 in status register 2 in mode 0 mode 3 * * = msb *
w25q256jv publication release date: september 20, 2016 - 34 - revision b 8.2.6 read extended address register (c8h) when the device is in the 3 - byte address mode, the extended address register is used as the 4 th address byte a[31:24] to access memory regions beyond 128mb. the read extended address register instruction is entered by driving /cs low and shifting the instruction code c8h into the di pin on the rising edge of clk. the extended address register bits are then shifted out on the do pin at the falling edge of clk with most significant bit (msb) first as shown in figure 10. when the device is in the 4 - byte address mode, the extended address register is not used. figure 10a. read extended address register instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( c 8 h ) h i g h i m p e d a n c e 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 e x t e n d e d a d d r . r e g . o u t e x t e n d e d a d d r . r e g . o u t * * = m s b *
w25q256jv - 35 - 8.2.7 write extended address register (c5h) the extended address register is a volatile register that s tores the 4 th byte address (a31 - a24) when the device is operating in the 3 - byte address mode (ads=0). to write the extended address register bits, a write enable (06h) instruction must previously have been executed for the device to accept the write extend ed address register instruction (status register bit wel must equal 1). once write enabled, the instruction is entered by driving /cs low, sending the instruction code c5h, and then writing the extended address register data byte as illustrated in figure 11. upon power up or the execution of a software/hardware reset, the extended address register bit values will be cleared to 0. the extended address register is only effective when the device is in the 3 - byte address mode. when the device operates in the 4 - byte address mode (ads=1), any command with address input of a31 - a24 will replace the extended address register values. it is recommended to check and update the extended address register if necessary when the device is switched from 4 - byte to 3 - byte add ress mode. figure 11. write extended address register instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( c 5 h ) h i g h i m p e d a n c e 8 9 1 0 1 1 1 2 1 3 1 4 1 5 7 6 5 4 3 2 1 0 e x t . a d d . r e g i n m o d e 0 m o d e 3 * = m s b *
w25q256jv publication release date: september 20, 2016 - 36 - revision b 8.2.8 enter 4 - byte address mode (b7h) the enter 4 - byte address mode instruction (figure 12) will allow 32 - bit address (a31 - a0) to be used to access the memory array beyond 128mb. the enter 4 - byte address mode instruction is entered by driving /cs low, shifting the instruction code b7h into the di pin and then driving /cs high. figure 12. enter 4 - byte address mode instruction 8.2.9 exit 4 - byte address mode (e9h) in order to be backward compatible, the exit 4 - byte address mode instruction (figure 13) will only allow 24 - bit address (a23 - a0) to be used to access the memory array up to 128mb. the extended address register must be used to access the memory array beyond 12 8mb. the exit 4 - byte address mode instruction is entered by driving /cs low, shifting the instruction code e9h into the di pin and then driving /cs high. figure 13. exit 4 - byte address mode instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 m o d e 0 m o d e 3 i n s t r u c t i o n ( b 7 h ) h i g h i m p e d a n c e / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 m o d e 0 m o d e 3 i n s t r u c t i o n ( e 9 h ) h i g h i m p e d a n c e
w25q256jv - 37 - 8.2.10 read data (03h) the read data instruction all ows one or more data bytes to be sequentially read from the memory. the instruction is initiated by driving the /cs pin low and then shifting the instruction code 03h followed by a 24 - bit address (a23 - a0) into the di pin , no matter in 3 - byte address mode or 4 - byte address mode . the code and address bits are latched on the rising edge of the clk pin. after the address is received, the data byte of the addressed memory location will be shifted out on the do pin at the falling edge of clk with most significa nt bit (msb) first. the address is automatically incremented to the next higher address after each byte of data is shifted out allowing for a continuous stream of data. this means that the entire memory can be accessed with a single instruction as long as the clock continues. the instruction is completed by driving /cs high. the read data instruction sequence is shown in figure 14. if a read data instruction is issued while an erase, program or write cycle is in process (busy=1) the instruction is ignored a nd will not have any effects on the current cycle. the read data instruction allows clock rates from d.c. to a maximum of f r (see ac electrical characteristics). the read data (03h) instruction is only supported in standard spi mode. figure 14. read data instruction /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (03h) high impedance 8 9 10 28 29 30 31 32 33 34 35 36 37 38 39 7 6 5 4 3 2 1 0 7 24-bit address 23 22 21 3 2 1 0 data out 1 * * = msb *
w25q256jv publication release date: september 20, 2016 - 38 - revision b 8.2.11 read data with 4 - byte address (13h) the read data with 4 - byte address instruction is similar to the read data (03h) instruction. instead of 24 - bit address, 32 - bit address is needed following the instruction code 13 h. no matter the device is operating in 3 - byte address mode or 4 - byte address mode, the read data with 4 - byte address instruction will always require 32 - bit address to access the entire 256mb memory. the read data with 4 - byte address instruction sequence i s shown in figure 15. if this instruction is issued while an erase, program or write cycle is in process (busy=1) the instruction is ignored and will not have any effects on the current cycle. the read data with 4 - byte address instruction allows clock rate s from d.c. to a maximum of f r (see ac electrical characteristics). the read data with 4 - byte address (13h) instruction is only supported in standard spi mode. figure 15. read data with 4 - byte address instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 1 3 h ) h i g h i m p e d a n c e 8 9 1 0 3 6 3 7 3 8 3 9 4 0 4 1 4 2 4 3 4 4 4 5 4 6 4 7 7 6 5 4 3 2 1 0 7 3 2 - b i t a d d r e s s 3 1 3 0 2 9 3 2 1 0 d a t a o u t 1 * * = m s b *
w25q256jv - 39 - 8.2.12 fast read ( 0bh) the fast read instruction is similar to the read data instruction except that it can operate at the highest possible frequency of f r (see ac electrical characteristics). this is accomplished by adding eight dummy clocks after the 24/32 - bit address a s shown in figure 16. the dummy clocks allow the devices internal circuits additional time for setting up the initial address. during the dummy clocks the data value on the do pin is a dont care. figure 16. fast read instruction 32 - bit address is r equired when the device is operating in 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (0bh) high impedance 8 9 10 28 29 30 31 24-bit address 23 22 21 3 2 1 0 data out 1 * /cs clk di (io 0 ) do (io 1 ) 32 33 34 35 36 37 38 39 dummy clocks high impedance 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 7 6 5 4 3 2 1 0 7 data out 2 * 7 6 5 4 3 2 1 0 * 43 31 0 = msb *
w25q256jv publication release date: september 20, 2016 - 40 - revision b 8.2.13 fast read with 4 - byte address (0ch) the fast read with 4 - byte address instruction is similar to the fast read instruction except that it requires 32 - bit address instead of 24 - bit address. no mat ter the device is operating in 3 - byte address mode or 4 - byte address mode, the read data with 4 - byte address instruction will always require 32 - bit address to access the entire 256mb memory. the fast read with 4 - byte address (0ch) instruction is only suppo rted in standard spi mode. figure 1 8 . fast read with 4 - byte address instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 0 c h ) h i g h i m p e d a n c e 8 9 1 0 3 6 3 7 3 8 3 9 3 2 - b i t a d d r e s s 3 1 3 0 2 9 3 2 1 0 d a t a o u t 1 * / c s c l k d i ( i o 0 ) d o ( i o 1 ) 5 7 5 8 5 9 6 0 6 1 6 2 6 3 3 9 d u m m y c l o c k s h i g h i m p e d a n c e 4 0 4 1 4 2 4 4 4 5 4 6 4 7 4 8 4 9 5 0 5 1 5 2 5 3 5 4 5 5 7 6 5 4 3 2 1 0 7 d a t a o u t 2 * 7 6 5 4 3 2 1 0 * 4 3 5 6 0 = m s b *
w25q256jv - 41 - 8.2.14 fast read dual output (3bh) the fast read dual output (3bh) instruction is similar to the standard fast read (0bh) instruction except that data is output on two pins; io 0 and io 1 . this allows data to be transferred at twice the rate of standard spi devices. the fast read dual output instruction is ideal for quickly downloading code from flash to ram upon power - up or for applications that cache code - segments to ram for e xecution. similar to the fast read instruction, the fast read dual output instruction can operate at the highest possible frequency of f r (see ac electrical characteristics). this is accomplished by adding eight dummy clocks after the 24/32 - bit address as shown in figure 1 9 . the dummy clocks allow the device's internal circuits additional time for setting up the initial address. the input data during the dummy clocks is dont care. however, the io 0 pin should be high - impedance prior to the falling edge of the first data out clock. figure 1 9 . fast read dual output instruction 32 - bit address is required when the device is operating in 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (3bh) high impedance 8 9 10 28 29 30 32 33 34 35 36 37 38 39 6 4 2 0 24-bit address 23 22 21 3 2 1 0 * * 31 31 /cs clk di (io 0 ) do (io 1 ) dummy clocks 0 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 7 5 3 1 high impedance 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 io 0 switches from input to output 6 7 data out 1 * data out 2 * data out 3 * data out 4 = msb *
w25q256jv publication release date: september 20, 2016 - 42 - revision b 8.2.15 fast read dual output with 4 - byte address (3ch) the fast read dual ou tput with 4 - byte address instruction is similar to the fast read dual output instruction except that it requires 32 - bit address instead of 24 - bit address. no matter the device is operating in 3 - byte address mode or 4 - byte address mode, the fast read dual o utput with 4 - byte address instruction will always require 32 - bit address to access the entire 256mb memory. the fast read dual output with 4 - byte address (3ch) instruction is only supported in standard spi mode. figure 20 . fas t read dual output with 4 - byte address instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 3 c h ) h i g h i m p e d a n c e 8 9 1 0 3 6 3 7 3 8 5 7 5 8 5 9 6 0 6 1 6 2 6 3 3 9 6 4 2 0 3 2 - b i t a d d r e s s 3 1 3 0 2 9 3 2 1 0 * * 3 9 5 6 / c s c l k d i ( i o 0 ) d o ( i o 1 ) d u m m y c l o c k s 0 4 0 4 1 4 2 4 3 4 4 4 5 4 6 4 7 4 8 4 9 5 0 5 1 5 2 5 3 5 4 5 5 7 5 3 1 h i g h i m p e d a n c e 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 i o 0 s w i t c h e s f r o m i n p u t t o o u t p u t 6 7 d a t a o u t 1 * d a t a o u t 2 * d a t a o u t 3 * d a t a o u t 4 = m s b *
w25q256jv - 43 - 8.2.16 fast read quad output (6bh) the fast read quad output (6bh) instruction is similar to the fast read dual output (3bh) instruction except that data is output on four pins, io 0 , io 1 , io 2 , and io 3 . the qu ad enable (qe) bit in status register - 2 must be set to 1 before the device will accept the fast read quad output instruction . the fast read quad output instruction allows data to be transferred at four times the rate of standard spi devices. the fast read quad output instruction can operate at the highest possible frequency of f r (see ac electrical characteristics). this is accomplished by adding eight dummy clocks after the 24/32 - bit address as shown in figure 2 1 . the dummy clocks allow the device's int ernal circuits additional time for setting up the initial address. the input data during the dummy clocks is dont care. however, the io pins should be high - impedance prior to the falling edge of the first data out clock. figure 2 1 . fast read quad ou tput instruction 32 - bit address is required when the device is operating in 4 - byte address mode /cs clk mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (6bh) high impedance 8 9 10 28 29 30 32 33 34 35 36 37 38 39 4 0 24-bit address 23 22 21 3 2 1 0 * 31 31 /cs clk dummy clocks 0 40 41 42 43 44 45 46 47 5 1 high impedance 4 5 byte 1 high impedance high impedance 6 2 7 3 high impedance 6 7 high impedance 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 byte 2 byte 3 byte 4 io 0 switches from input to output io 0 io 1 io 2 io 3 io 0 io 1 io 2 io 3 = msb *
w25q256jv publication release date: september 20, 2016 - 44 - revision b 8.2.17 fast read quad output with 4 - byte address (6ch) the fast read quad output with 4 - byte address instruction is similar to the fast read quad output instruction except that it requires 32 - bit address instead of 24 - bit address. no matter the device is operating in 3 - byte address mode or 4 - byte address mode, the fast read quad output with 4 - byte address instruction will always require 32 - bit address to access the e ntire 256mb memory. the fast read quad output with 4 - byte address (6ch) instruction is only supported in standard spi mode. figure 2 2 . fast read quad output with 4 - byte address instruction / c s c l k m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 6 c h ) h i g h i m p e d a n c e 8 9 1 0 3 6 3 7 3 8 4 9 5 0 5 1 5 2 5 3 5 4 5 5 3 9 4 0 3 2 - b i t a d d r e s s 3 1 3 0 2 9 3 2 1 0 * 3 9 4 8 / c s c l k d u m m y c l o c k s 0 4 0 4 1 4 2 4 3 4 4 4 5 4 6 4 7 5 1 h i g h i m p e d a n c e 4 5 b y t e 1 h i g h i m p e d a n c e h i g h i m p e d a n c e 6 2 7 3 h i g h i m p e d a n c e 6 7 h i g h i m p e d a n c e 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 b y t e 2 b y t e 3 b y t e 4 i o 0 s w i t c h e s f r o m i n p u t t o o u t p u t i o 0 i o 1 i o 2 i o 3 i o 0 i o 1 i o 2 i o 3 = m s b *
w25q256jv - 45 - 8.2.18 f ast read dual i/o (bbh) the fast read dual i/o (bbh) instr uction allows for improved random access while maintaining two io pins, io 0 and io 1 . it is similar to the fast read dual output (3bh) instruction but with the capability to input the address bits (a23/a31 - 0) two bits per clock. this reduced instruction ove rhead may allow for code execution (xip) directly from the d ua l spi in some applications. similar to the fast read dual output (3bh) instruction, the fast read dual i/o instruction can operate at the highest possible frequency of f r (see ac electrical cha racteristics). this is accomplished by adding four dummy clocks after the 24/32 - bit address as shown in figure 23. the dummy clocks allow the device's internal circuits additional time for setting up the initial address. the input data during the dummy c locks is dont care. however, the io 0 pin should be high - impedance prior to the falling edge of the first data out clock. figure 2 3 a . fast read dual i/o ( m7 - m0 should be set to ffh ) 32 - bit address is required when the device is operating in 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (bbh) 8 9 10 12 13 14 24 25 26 27 28 29 30 31 6 4 2 0 * * 23 /cs clk di (io 0 ) do (io 1 ) 0 32 33 34 35 36 37 38 39 7 5 3 1 * 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 * * ios switch from input to output 6 7 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 11 15 16 17 18 20 21 22 19 23 1 a23-16 a15-8 a7-0 m7-0 byte 1 byte 2 byte 3 byte 4 = msb * *
w25q256jv publication release date: september 20, 2016 - 46 - revision b 8.2.19 f ast read dual i/o with 4 - byte address (bch) the fast read dual i/o with 4 - byte address instruction is similar to the fast read dual i/o instruction except that it requires 32 - bit address instead of 24 - bit address. no matter the device is op erating in 3 - byte address mode or 4 - byte address mode, the fast read dual i/o with 4 - byte address instruction will always require 32 - bit address to access the entire 256mb memory. the fast read dual i/o with 4 - byte address (bch) instruction is only support ed in standard spi mode . figure 2 5 a. fast read dual i/o w/ 4 - byte addr. ( m7 - m0 shuld set to fxh , spi mode only) / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( b c h ) 8 9 1 0 4 1 4 2 4 3 2 7 2 8 2 9 3 0 3 1 6 4 2 0 * * 4 0 / c s c l k d i ( i o 0 ) d o ( i o 1 ) 0 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 7 5 3 1 * 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 * * i o s s w i t c h f r o m i n p u t t o o u t p u t 6 7 3 0 2 8 2 6 3 1 2 9 2 7 4 2 0 5 3 1 6 4 2 0 7 5 3 1 2 1 2 2 2 4 2 5 2 6 2 3 2 7 1 m 7 - 0 b y t e 1 b y t e 2 b y t e 3 b y t e 4 = m s b * * 3 2 - b i t a d d r e s s
w25q256jv - 47 - 8.2.20 fast read quad i/o (ebh) the fast read quad i/o (ebh) instruction is similar to the fast read dual i/o (bbh) instruction except that add ress and data bits are input and output through four pins io 0 , io 1 , io 2 and io 3 and four dummy clocks are required in spi mode prior to the data output. the quad i/o dramatically reduces instruction overhead allowing faster random access for code execution (xip) directly from the quad spi. the quad enable bit (qe) of status register - 2 must be set to enable the fast read quad i/o instruction . figure 2 6 a . fast read quad i/ o ( m7 - m0 should be set to ffh ) 32 - bit address is required when the device is operating in 4 - byte address mode fast read quad i/o with 8/16/32/64 - byte wrap around in standard spi mode the fast read quad i/o instruction can also be used to access a specific portion within a page by issuing a set burst with wrap (77h) command prior to ebh. the set burst with wrap (77h) command can either enable or disable the wrap around feature for the following ebh commands. when wrap around is enabled, the data being accessed can be limited to either an 8, 16, 32 or 64 - byte section of a 256 - byte page. the output data starts at the initial address specified in the instruction, once it reaches the ending boundary of the 8/16/32/64 - byte section, the output will wrap around to the beginning boun dary automatically until /cs is pulled high to terminate the command. the burst with wrap feature allows applications that use cache to quickly fetch a critical address and then fill the cache afterwards within a fixed length (8/16/32/64 - byte) of data wit hout issuing multiple read commands. the set burst with wrap instruction allows three wrap bits, w6 - 4 to be set. the w4 bit is used to enable or disable the wrap around operation while w6 - 5 are used to specify the length of the wrap around section w ithin a page. refer to section 8.2.24 for detail descriptions. m7-0 /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 2 3 4 5 20 16 12 8 21 17 22 18 23 19 13 9 14 10 15 11 a23-16 6 7 8 9 4 0 5 1 6 2 7 3 a15-8 a7-0 byte 1 byte 2 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 10 11 12 13 14 4 5 6 7 ios switch from input to output byte 3 15 16 17 18 19 20 21 22 23 dummy dummy instruction (ebh)
w25q256jv publication release date: september 20, 2016 - 48 - revision b 8.2.21 fast read quad i/o with 4 - byte address (ech) the fast read quad i/o with 4 - byte address instruction is similar to the fast read dual i/o instruction except that it requires 32 - bit address in stead of 24 - bit address. no matter the device is operating in 3 - byte address mode or 4 - byte address mode, the fast read quad i/o with 4 - byte address instruction will always require 32 - bit address to access the entire 256mb memory. the fast read quad i/o wi th 4 - byte address (ech) instruction is only supported in standard spi mode . figure 2 8 . fast read quad i/ o w/ 4 - byte addr. ( m7 - m0 should be set to ffh ) fast read quad i/o with 8/16/32/64 - byte wrap ar ound in standard spi mode the fast read quad i/o instruction can also be used to access a specific portion within a page by issuing a set burst with wrap (77h) command prior to ech. the set burst with wrap (77h) command can either enable or disable t he wrap around feature for the following ech commands. when wrap around is enabled, the data being accessed can be limited to either an 8, 16, 32 or 64 - byte section of a 256 - byte page. the output data starts at the initial address specified in the inst ruction, once it reaches the ending boundary of the 8/16/32/64 - byte section, the output will wrap around to the beginning boundary automatically until /cs is pulled high to terminate the command. the burst with wrap feature allows applications that use ca che to quickly fetch a critical address and then fill the cache afterwards within a fixed length (8/16/32/64 - byte) of data without issuing multiple read commands. the set burst with wrap instruction allows three wrap bits, w6 - 4 to be set. the w4 bit i s used to enable or disable the wrap around operation while w6 - 5 are used to specify the length of the wrap around section within a page. refer to section 8.2.24 for detail descriptions. m 7 - 0 / c s c l k m o d e 0 m o d e 3 0 1 i o 0 i o 1 i o 2 i o 3 2 3 4 5 2 8 2 4 2 9 2 5 3 0 2 6 3 1 2 7 6 7 8 9 4 0 5 1 6 2 7 3 b y t e 1 b y t e 2 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 1 4 1 5 1 6 4 5 6 7 i o s s w i t c h f r o m i n p u t t o o u t p u t b y t e 3 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 d u m m y d u m m y i n s t r u c t i o n ( e c h ) 3 2 - b i t a d d r e s s
w25q256jv - 49 - 8.2.22 set burst with wrap (77h) t he set burst with wrap (77h) instructio n is used in conjunction with fast read quad i/o and word read quad i/o instructions to access a fixed length of 8/16/32/64 - byte section within a 256 - byte page. certain applications can benefit from this feature and improve the overall system code exec ution performance. similar to a quad i/o instruction, the set burst with wrap instruction is initiated by driving the /cs pin low and then shifting the instruction code 77h followed by 24/32 dummy bits and 8 wrap bits, w7 - 0. the instruction sequence is shown in figure 28. wrap bit w7 and the lower nibble w3 - 0 are not used. w6, w5 w4 = 0 w4 =1 (default) wrap around wrap length wrap around wrap length 0 0 yes 8 - byte no n/a 0 1 yes 16 - byte no n/a 1 0 yes 32 - byte no n/a 1 1 yes 64 - byte no n/a onc e w6 - 4 is set by a set burst with wrap instruction, all the following fast read quad i/o instructions will use the w6 - 4 setting to access the 8/16/32/64 - byte section within any page. to exit the wrap around function and return to normal read operation, another set burst with wrap instruction should be issued to set w4 = 1. the default value of w4 upon power on or after a software/hardware reset is 1. figure 28 . set burst with wrap instruction 32 - bit dummy bits are required when the device is operat ing in 4 - byte address mode wrap bit /cs clk mode 0 mode 3 0 1 io 0 io 1 io 2 io 3 2 3 4 5 x x x x x x x x don't care 6 7 8 9 don't care don't care 10 11 12 13 14 15 instruction (77h) mode 0 mode 3 x x x x x x x x x x x x x x x x w4 x w5 x w6 x x x
w25q256jv publication release date: september 20, 2016 - 50 - revision b 8.2.23 page program (02h) the page program instruction allows from one byte to 256 bytes (a page) of data to be programmed at previously erased (ffh) memory locations. a write enable instruction must be executed before the device wil l accept the page program instruction (status register bit wel= 1). the instruction is initiated by driving the /cs pin low then shifting the instruction code 02h followed by a 24/32 - bit address (a23/a31 - a0) and at least one data byte, into the di pin. t he /cs pin must be held low for the entire length of the instruction while data is being sent to the device. the page program instructio n sequence is shown in figure 32 . if an entire 256 byte page is to be programmed, the last address byte (the 8 least sig nificant address bits) should be set to 0. if the last address byte is not zero, and the number of clocks exceeds the remaining page length, the addressing will wrap to the beginning of the page. in some cases, less than 256 bytes (a partial page) can be p rogrammed without having any effect on other bytes within the same page. one condition to perform a partial page program is that the number of clocks cannot exceed the remaining page length. if more than 256 bytes are sent to the device the addressing will wrap to the beginning of the page and overwrite previously sent data. as with the write and erase instructions, the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the page program instruction will n ot be executed. after /cs is driven high, the self - timed page program instruction will commence for a time duration of tpp (see ac characteristics). while the page program cycle is in progress, the read status register instruction may still be accessed for checking the status of the busy bit. the busy bit is a 1 during the page program cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the page program cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the page program instruction will not be executed if the addressed page is protected by the block protect (cmp, tb, bp3, bp2, bp1, and bp0) bits or the individual block/sector locks. figure 32 . page program instruction 32 - bit address is required when the device is operating in 4 - byte address mode /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (02h) 8 9 10 28 29 30 39 24-bit address 23 22 21 3 2 1 * /cs clk di (io 0 ) 40 41 42 43 44 45 46 47 data byte 2 48 49 50 52 53 54 55 2072 7 6 5 4 3 2 1 0 51 39 0 31 0 32 33 34 35 36 37 38 data byte 1 7 6 5 4 3 2 1 * mode 0 mode 3 data byte 3 2073 2074 2075 2076 2077 2078 2079 0 data byte 256 * 7 6 5 4 3 2 1 0 * 7 6 5 4 3 2 1 0 * = msb *
w25q256jv - 51 - 8.2.24 page program with 4 - byte address (12h) the page program with 4 - byte address instruction is similar to the page program instruction except that it requires 32 - bit address instead of 24 - bit address. no matter the device is operating in 3 - byte address mode or 4 - byte address mode, the page program with 4 - byte address instruction will always require 32 - bit address to access the entire 256 mb memory. figure 33 . page program with 4 - byte addr. / c s c l k d i ( i o 0 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 1 2 h ) 8 9 1 0 3 6 3 7 3 8 4 7 3 2 - b i t a d d r e s s 3 1 3 0 2 9 3 2 1 * / c s c l k d i ( i o 0 ) 4 8 4 9 5 0 5 1 5 2 5 3 5 4 5 5 d a t a b y t e 2 5 6 5 7 5 8 6 0 6 1 6 2 6 3 2 0 8 0 7 6 5 4 3 2 1 0 5 9 4 7 0 3 9 0 4 0 4 1 4 2 4 3 4 4 4 5 4 6 d a t a b y t e 1 7 6 5 4 3 2 1 * m o d e 0 m o d e 3 d a t a b y t e 3 2 0 8 1 2 0 8 2 2 0 8 3 2 0 8 4 2 0 8 5 2 0 8 6 2 0 8 7 0 d a t a b y t e 2 5 6 * 7 6 5 4 3 2 1 0 * 7 6 5 4 3 2 1 0 * = m s b *
w25q256jv publication release date: september 20, 2016 - 52 - revision b 8.2.25 quad input page program ( 3 2h) the quad page program instruction allows up to 256 bytes of data to be programmed at previously erased (ffh) mem ory locations using four pins: io 0 , io 1 , io 2 , and io 3 . the quad page program can improve performance for prom programmer and applications that have slow clock speeds <5mhz. systems with faster clock speed will not realize much benefit for the quad page pr ogram instruction since the inherent page program time is much greater than the time it take to clock - in the data. to use quad page program the quad enable (qe) bit in status register - 2 must be set to 1. a write enable instruction must be executed before t he device will accept the quad page program instruction (status register - 1, wel=1). the instruction is initiated by driving the /cs pin low then shifting the instruction code 32h followed by a 24/32 - bit address (a23/a31 - a0) and at least one data byte, in to the io pins. the /cs pin must be held low for the entire length of the instruction while data is being sent to the device. all other functions of quad page program are identical to standard page program. the quad page program instruction sequence is sho wn in figure 3 4 . figure 3 4 . quad input page program instruction 32 - bit address is required when the device is operating in 4 - byte address mode /cs clk mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (32h) 8 9 10 28 29 30 32 33 34 35 36 37 4 0 24-bit address 23 22 21 3 2 1 0 * 31 31 /cs clk 5 1 byte 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 byte 2 byte 3 byte 256 0 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 536 537 538 539 540 541 542 543 mode 0 mode 3 byte 253 byte 254 byte 255 io 0 io 1 io 2 io 3 io 0 io 1 io 2 io 3 * * * * * * * = msb *
w25q256jv - 53 - 8.2.26 quad input page program with 4 - byte address ( 3 4 h) the quad input page program with 4 - byte address instruct ion is similar to the quad input page program instruction except that it requires 32 - bit address instead of 24 - bit address. no matter the device is operating in 3 - byte address mode or 4 - byte address mode, the quad input page program with 4 - byte address ins truction will always require 32 - bit address to access the entire 256mb memory. figure 3 5 . quad input page program with 4 - byte addr. / c s c l k m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 3 4 h ) 8 9 1 0 3 6 3 7 3 8 4 0 4 1 4 2 4 3 4 4 4 5 4 0 3 2 - b i t a d d r e s s 3 1 3 0 2 9 3 2 1 0 * 3 9 3 9 / c s c l k 5 1 b y t e 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 b y t e 2 b y t e 3 b y t e 2 5 6 0 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 4 0 5 1 6 2 7 3 5 4 4 5 4 5 5 4 6 5 4 7 5 4 8 5 4 9 5 5 0 5 5 1 m o d e 0 m o d e 3 b y t e 2 5 3 b y t e 2 5 4 b y t e 2 5 5 i o 0 i o 1 i o 2 i o 3 i o 0 i o 1 i o 2 i o 3 * * * * * * * = m s b *
w25q256jv publication release date: september 20, 2016 - 54 - revision b 8.2.27 sector erase (20h) the sector erase instruction sets all memory within a specified secto r (4k - bytes) to the erased state of all 1s (ffh). a write enable instruction must be executed before the device will accept the sector erase instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shi fting the instruction code 20h followed a 24/32 - bit sector address (a23/a31 - a0). the sector erase instruction sequence is shown in figure 3 6 . the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the sector erase instruction will not be executed. after /cs is driven high, the self - timed sector erase instruction will commence for a time duration of t se (see ac characteristics). while the sector erase cycle is in progress, the read status register instru ction may still be accessed for checking the status of the busy bit. the busy bit is a 1 during the sector erase cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the sector erase cycle has f inished the write enable latch (wel) bit in the status register is cleared to 0. the sector erase instruction will not be executed if the addressed page is protected by the block protect (cmp, tb, bp3, bp2, bp1, and bp0) bits or the individual block/sector locks. figure 3 6 . sector erase instruction 32 - bit address is required when the device is operating in 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (20h) high impedance 8 9 29 30 31 24-bit address 23 22 2 1 0 * mode 0 mode 3 = msb *
w25q256jv - 55 - 8.2.28 sector erase with 4 - byte address (21h) the sector erase with 4 - byte address instruction is similar to the sector erase instruc tion except that it requires 32 - bit address instead of 24 - bit address. no matter the device is operating in 3 - byte address mode or 4 - byte address mode, the sector erase with 4 - byte address instruction will always require 32 - bit address to access the entire 256mb memory. figure 3 7 . sector erase with 4 - byte address instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 2 1 h ) h i g h i m p e d a n c e 8 9 3 7 3 8 3 9 3 2 - b i t a d d r e s s 3 1 3 0 2 1 0 * m o d e 0 m o d e 3 = m s b *
w25q256jv publication release date: september 20, 2016 - 56 - revision b 8.2.29 32kb block erase (52h) the block erase instruction sets all memory within a specified block (32k - bytes) to the erased state of all 1s (ffh). a write enable instruction must be executed before the device will accept the block erase instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shifting the instruction code 52h followed a 24/32 - bit block address (a23/a31 - a0). the block erase instruction sequence is shown in figure 3 8 . the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the block erase instruction will not be executed. after /cs is dr iven high, the self - timed block erase instruction will commence for a time duration of t be 1 (see ac characteristics). while the block erase cycle is in progress, the read status register instruction may still be accessed for checking the status of the busy bit. the busy bit is a 1 during the block erase cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the block erase cycle has finished the write enable latch (wel) bit in the status register i s cleared to 0. the block erase instruction will not be executed if the addressed page is protected by the block protect (cmp, tb, bp3, bp2, bp1, and bp0) bits or the individual block/sector locks. figure 3 8 a. 32kb block erase instruction 32 - bit addres s is required when the device is operating in 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (52h) high impedance 8 9 29 30 31 24-bit address 23 22 2 1 0 * mode 0 mode 3 = msb *
w25q256jv - 57 - 8.2.30 64kb block erase (d8h) the block erase instruction sets all memory within a specified block (64k - bytes) to the erased state of all 1s (ffh). a write enable instruction must be executed be fore the device will accept the block erase instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shifting the instruction code d8h followed a 24/32 - bit block address (a23/a31 - a0). the block erase instruction sequence is shown in figure 33a & 33b. the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the block erase instruction will not be executed. after /cs is driven high, the self - timed block erase instruction will commence for a time duration of t be (see ac characteristics). while the block erase cycle is in progress, the read status register instruction may still be accessed for checking the status of the busy bit. the busy bit is a 1 during the block erase cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the block erase cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the block erase instruction will not be executed if the addressed page is protected by the block protect (cmp, tb, bp3, bp2, bp1, and bp0) bits or the individual block/sector locks. figure 3 9 . 64kb block erase instruction 32 - bit address is re quired when the device is operating in 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (d8h) high impedance 8 9 29 30 31 24-bit address 23 22 2 1 0 * mode 0 mode 3 = msb *
w25q256jv publication release date: september 20, 2016 - 58 - revision b 8.2.31 64kb block erase with 4 - byte address (dch) the 64kb block erase with 4 - byte address instruction is similar to the 64kb block erase instruction except that it requires 32 - bit address instead of 24 - bit address. no matter the device is operating in 3 - byte address mode or 4 - byte address mode, the 64kb block erase with 4 - byte address instruction will always require 32 - bit address to access the entire 256mb memory. figure 40 . 64kb block erase with 4 - byte address instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( d c h ) h i g h i m p e d a n c e 8 9 3 7 3 8 3 9 3 2 - b i t a d d r e s s 3 1 3 0 2 1 0 * m o d e 0 m o d e 3 = m s b *
w25q256jv - 59 - 8.2.32 chip erase (c7h / 60h ) the chip erase instruction sets all memory within the device to the erased state of all 1s (ffh). a write enable instruction must be executed before t he device will accept the chip erase instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shifting the instruction code c7h or 60h . the chip erase instruction sequence is shown in figure 41 . th e /cs pin must be driven high after the eighth bit has been latched. if this is not done the chip erase instruction will not be executed. after /cs is driven high, the self - timed chip erase instruction will commence for a time duration of t ce (see ac chara cteristics). while the chip erase cycle is in progress, the read status register instruction may still be accessed to check the status of the busy bit. the busy bit is a 1 during the chip erase cycle and becomes a 0 when finished and the device is ready to accept other instructions again. after the chip erase cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the chip erase instruction will not be executed if any memory region is protected by the block protect (cmp, tb, bp3, bp2, bp1, and bp0) bits or the individual block/sector locks. figure 41 . chip erase instruction sequence diagram /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (c7h/60h) high impedance mode 0 mode 3
w25q256jv publication release date: september 20, 2016 - 60 - revision b 8.2.33 erase / program suspend (75h) the erase/program suspend instruction 75h, allows the system to interru pt a sector or block erase operation or a page program operation and then read from or program/erase data to, any other sectors or blocks. the erase/program suspend instruction sequence is shown in figure 42 . the write status register instruction (01h) and erase instructions (20h, 52h, d8h, c7h, 60h, 44h) are not allowed during erase suspend. erase suspend is valid only during the sector or block erase operation. if written during the chip erase operation, the erase suspend instruction is ignored. the write status register instruction (01h) and program instructions (02h, 32h, 42h) are not allowed during program suspend. program suspend is valid only during the page program or quad page program operation. the erase/program suspend instruction 75h will be ac cepted by the device only if the sus bit in the status register equals to 0 and the busy bit equals to 1 while a sector or block erase or a page program operation is on - going. if the sus bit equals to 1 or the busy bit equals to 0, the suspend instruction will be ignored by the device. a maximum of time of t sus (see ac characteristics) is required to suspend the erase or program operation. the busy bit in the status register will be cleared from 1 to 0 within t sus and the sus bit in the status register will be set from 0 to 1 immediately after erase/program suspend. for a previously resumed erase/program operation, it is also required that the suspend instruction 75h is not issued earlier than a minimum of time of t sus following the preceding resume instruction 7ah. unexpected power off during the erase/program suspend state will reset the device and release the suspend state. sus bit in the status register will also reset to 0. the data within the page, sector or block that was being suspended may become corrupted. it is recommended for the user to implement system design techniques against the accidental power interruption and preserve data integrity during erase/program suspend state. figure 42 . erase/program suspend instruction /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (75h) high impedance mode 0 mode 3 tsus accept instructions
w25q256jv - 61 - 8.2.34 erase / pr ogram resume (7ah) the erase/program resume instruction 7ah must be written to resume the sector or block erase operation or the page program operation after an erase/program suspend. the resume instruction 7ah will be accepted by the device only if th e sus bit in the status register equals to 1 and the busy bit equals to 0. after issued the sus bit will be cleared from 1 to 0 immediately, the busy bit will be set from 0 to 1 within 200ns and the sector or block will complete the erase operation or the page will complete the program operation. if the sus bit equals to 0 or the busy bit equals to 1, the resume instruction 7ah will be ignored by the device. the erase/program resume instruction sequence is shown in figure 43. resume instruction is ignored if the previous erase/program suspend operation was interrupted by unexpected power off. it is also required that a subsequent erase/program suspend instruction not to be issued within a minimum of time of t sus following a previous resume instruction. figure 43 . erase/program resume instruction /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (7ah) mode 0 mode 3 resume previously suspended program or erase
w25q256jv publication release date: september 20, 2016 - 62 - revision b 8.2.35 power - down (b9h) although the standby current during normal operation is relatively low, standby current can be further reduced with the power - down instruction. the lower power consumption makes the power - do wn instruction especially useful for battery powered applications (see icc1 and icc2 in ac characteristics). the instruction is initiated by driving the /cs pin low and shifting the instruction code b9h as shown in figure 44 . the /cs pin must be driven high after the eighth bit has been latched. if this is not done the power - down instruction will not be executed. after /cs is driven high, the power - down state will entered within the time duration of t dp (see ac characteristics). while in the power - down s tate only the release power - down / device id (abh) instruction, which restores the device to normal operation, will be recognized. all other instructions are ignored. this includes the read status register instruction, which is always available during norm al operation. ignoring all but one instruction makes the power down state a useful condition for securing maximum write protection. the device always powers - up in the normal operation with the standby current of icc1. figure 4 4 . deep power - down instruction /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (b9h) mode 0 mode 3 tdp power-down current stand-by current
w25q256jv - 63 - 8.2.36 release power - down / device id (abh) the release from power - down / device id instruction is a multi - purpose instruction. it can be used to release the device from the power - down state , or obtain the devices electronic id entification (id) number. to release the device from the power - down state, the instruction is issued by driving the /cs pin low, shifting the instruction code abh and driving /cs high as shown in figure 45 . release from power - down will take the time dur ation of t res 1 (see ac characteristics) before the device will resume normal operation and other instructions are accepted. the /cs pin must remain high during the t res 1 time duration. when used only to obtain the device id while not in the power - down stat e, the instruction is initiated by driving the /cs pin low and shifting the instruction code abh followed by 3 - dummy bytes. the device id bits are then shifted out on the falling edge of clk with most significant bit (msb) first. the device id values for the w25q 256jv is listed in manufacturer and device identification table. the device id can be read continuously. the instruction is completed by driving /cs high. when used to release the device from the power - down state and obtain the device id, the ins truction is the same as previously described, and shown in figure 45 , except that after /cs is driven high it must remain high for a time duration of t res 2 (see ac characteristics). after this time duration the device will resume normal operation and other instructions will be accepted. if the release from power - down / device id instruction is issued while an erase, program or write cycle is in process (when busy equals 1) the instruction is ignored and will not have any effects on the current cycle. figure 45 a . release power - down instruction figure 45 b . release power - down / device id instruction /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (abh) mode 0 mode 3 tres1 power-down current stand-by current tres2 /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (abh) high impedance 8 9 29 30 31 3 dummy bytes 23 22 2 1 0 * mode 0 mode 3 7 6 5 4 3 2 1 0 * 32 33 34 35 36 37 38 device id power-down current stand-by current = msb *
w25q256jv publication release date: september 20, 2016 - 64 - revision b 8.2.37 read manufacturer / device id (90h) the read manufacturer/device id instruction is an alternative to the release from power - down / device id instruction that provides both the jedec assigned manufacturer id and the specific device id. the read manufacturer/device id instruction is very similar to the release from power - down / device id instruction. the instruction is initiate d by driving the /cs pin low and shifting the instruction code 90h followed by a 24 - bit address (a23 - a0) of 000000h. after which, the manufacturer id for winbond (efh) and the device id are shifted out on the falling edge of clk with most significant bit (msb) first as shown in figure 46 . the device id values for the w25q 256jv are listed in manufacturer and device identification table. the instruction is completed by driving /cs high. figure 46 . read manufacturer / device id i nstruction /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (90h) high impedance 8 9 10 28 29 30 31 address (000000h) 23 22 21 3 2 1 0 device id * /cs clk di (io 0 ) do (io 1 ) 32 33 34 35 36 37 38 39 manufacturer id (efh) 40 41 42 44 45 46 7 6 5 4 3 2 1 0 * 43 31 0 mode 0 mode 3 = msb *
w25q256jv - 65 - 8.2.38 read manufacturer / device id dual i/o (92h) the read manufacturer / device id dual i/o instruction is an alternative to the read manufacturer / device id instruction that provides both the jedec assigned manufacturer id and the specific de vice id at 2x speed. the read manufacturer / device id dual i/o instruction is similar to the fast read dual i/o instruction. the instruction is initiated by driving the /cs pin low and shifting the instruction code 92h followed by a 24/32 - bit address (a 23/a31 - a0) of 000000h, but with the capability to input the address bits two bits per clock . after which, the manufacturer id for winbond (efh) and the device id are shifted out 2 bits per clock on the falling edge of clk with most significant bits (msb) f irst as shown in figure 4 7 . the device id values for the w25q 256jv are listed in manufacturer and device identification table . the manufacturer and device ids can be read continuously, alternating from one to the other. the instruction is completed by driv ing /cs high. figure 4 7 . read manufacturer / device id dual i/o instruction 32 - bit address is required when the device is operating in 4 - byte address mode note: the continuous read mode bits m(7 - 0) must be set to fxh to be compatible with fast read dual i/o instruction. /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (92h) high impedance 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 7 5 3 1 * * 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 23 * * a23-16 a15-8 a7-0 (00h) m7-0 /cs clk di (io 0 ) do (io 1 ) 24 25 26 27 28 29 30 31 32 33 34 36 37 38 35 23 0 mode 0 mode 3 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 1 6 4 2 0 7 5 3 6 4 2 1 0 1 mfr id device id mfr id (repeat) device id (repeat) ios switch from input to output * * * * = msb *
w25q256jv publication release date: september 20, 2016 - 66 - revision b 8.2.39 read manufacturer / device id quad i/o (94h) the read manufacturer / device id quad i/o instruction is an alternative to the read manufacturer / device id instruction that provides both the jedec assigned manufacturer id and the spec ific device id at 4x speed. the read manufacturer / device id quad i/o instruction is similar to the fast read quad i/o instruction. the instruction is initiated by driving the /cs pin low and shifting the instruction code 94h followed by a four clock d ummy cycles and then a 24/32 - bit address (a23/a31 - a0) of 000000h, but with the capability to input the address bits four bits per clock . after which, the manufacturer id for winbond (efh) and the device id are shifted out four bits per clock on the falling edge of clk with most significant bit (msb) first as shown in figure 4 8 . the device id values for the w25q 256jv are listed in manufacturer and device identification table. the manufacturer and device ids can be read continuously, alternating from one to t he other. the instruction is completed by driving /cs high. figure 4 8 . read manufacturer / device id quad i/o instruction 32 - bit address is required when the device is operating in 4 - byte address mode note: the continuous read mode bits m(7 - 0) must be set to fxh to be compatible with fast read quad i/o instruction. mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (94h) high impedance 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 1 4 0 23 mode 0 mode 3 ios switch from input to output high impedance 7 3 6 2 /cs clk io 0 io 1 io 2 io 3 high impedance a23-16 a15-8 a7-0 (00h) m7-0 mfr id device id dummy dummy /cs clk io 0 io 1 io 2 io 3 23 0 1 2 3 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 5 1 4 0 7 3 6 2 24 25 26 27 28 29 30 mfr id (repeat) device id (repeat) mfr id (repeat) device id (repeat)
w25q256jv - 67 - 8.2.40 read unique id number (4bh) the read unique id number instruction accesses a factory - set read - only 64 - bit number that is unique to each w25q 256jv device. the id number can be used in conj unction with user software methods to help prevent copying or cloning of a system. the read unique id instruction is initiated by driving the /cs pin low and shifting the instruction code 4bh followed by a four bytes of dummy clocks. after which, the 64 - bit id is shifted out on the falling edge of clk as shown in figure 4 9 . figure 4 9 . read unique id number instruction 5 dummy bytes are required when the device is operating in 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (4bh) high impedance 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 /cs clk di (io 0 ) do (io 1 ) 24 25 26 27 28 29 30 31 32 33 34 36 37 38 35 23 mode 0 mode 3 * dummy byte 1 dummy byte 2 39 40 41 42 dummy byte 3 dummy byte 4 63 62 61 2 1 0 64-bit unique serial number 100 101 102 high impedance = msb *
w25q256jv publication release date: september 20, 2016 - 68 - revision b 8.2.41 read jedec id (9fh) for compatibility reasons, the w25q 256jv provides several instructions to electronically determine the identity of the device. the read jedec id instruction is compatible with the jedec standard for spi compatible serial memories that was adopted in 2003. the instruction is initiated by driving the /cs pin low and shifting the instruction code 9fh. the jedec assigned manufacturer id byte for winbond (efh) and two device id bytes, memory type (id15 - id8) and capacity (id7 - id0) are then shifted out on the falling edge of clk with most sig nificant bit (msb) first as shown in figure 50 . for memory type and capacity values refer to manufacturer and device identification table. figure 50 . read jedec id instruction /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (9fh) high impedance 8 9 10 12 13 14 15 capacity id7-0 /cs clk di (io 0 ) do (io 1 ) 16 17 18 19 20 21 22 23 manufacturer id (efh) 24 25 26 28 29 30 7 6 5 4 3 2 1 0 * 27 15 mode 0 mode 3 11 7 6 5 4 3 2 1 0 * memory type id15-8 = msb *
w25q256jv - 69 - 8.2.42 read sfdp register (5ah) the w25q 256jv features a 256 - byte serial flash discoverable parameter (sfdp) register that contains information about device configurations, available instructions and other features. the sfdp parameters are stored in one or more parameter identification (pid) tables. currently o nly one pid table is specified, but more may be added in the future. the read sfdp register instruction is compatible with the sfdp standard initially established in 2010 for pc and other applications, as well as the jedec standard jesd216 that is publishe d in 2011. most winbond spiflash memories shipped after june 2011 (date code 1124 and beyond) support the sfdp feature as specified in the applicable datasheet . the read sfdp instruction is initiated by driving the /cs pin low and shifting the instruction code 5ah followed by a 24 - bit address (a23 - a0) (1) into the di pin. eight dummy clocks are also required before the sfdp register contents are shifted out on the falling edge of the 40 th clk with most significant bit (msb) first as shown in figure 51 . for sfdp register values and descriptions, please refer to the winbond application note for sfdp definition table. note: 1. a23 - a8 = 0; a7 - a0 are used to define the starting byte address for the 256 - byte sfdp register. figure 51 . read sfdp register ins truction sequence diagram only 24 - bit address is required when the device is operating in either 3 - byte or 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (5ah) high impedance 8 9 10 28 29 30 31 24-bit address 23 22 21 3 2 1 0 data out 1 * /cs clk di (io 0 ) do (io 1 ) 32 33 34 35 36 37 38 39 dummy byte high impedance 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 7 6 5 4 3 2 1 0 7 data out 2 * 7 6 5 4 3 2 1 0 * 7 6 5 4 3 2 1 0 43 31 0 = msb *
w25q256jv publication release date: september 20, 2016 - 70 - revision b 8.2.43 erase security registers (44h) the w25q 256jv offers three 256 - byte security registers which can be erased and programmed indi vidually. these registers may be used by the system manufacturers to store security and other important information separately from the main memory array. the erase security register instruction is similar to the sector erase instruction. a write enable in struction must be executed before the device will accept the erase security register instruction (status register bit wel must equal 1). the instruction is initiated by driving the /cs pin low and shifting the instruction code 44h followed by a 24/32 - bit address (a23/a31 - a0) to erase one of the three security registers. address {a23/a31} - 16 a15 - 12 a11 - 8 a7 - 0 security register #1 00h /0000h 0 0 0 1 0 0 0 0 dont care security register #2 00h /0000h 0 0 1 0 0 0 0 0 dont care security register #3 00h /0000 h 0 0 1 1 0 0 0 0 dont care the erase security register instruction sequence is shown in figure 52 . the /cs pin must be driven high after the eighth bit of the last byte has been latched. if this is not done the instruction will not be executed. after /c s is driven high, the self - timed erase security register operation will commence for a time duration of t se (see ac characteristics). while the erase security register cycle is in progress, the read status register instruction may still be accessed for che cking the status of the busy bit. the busy bit is a 1 during the erase cycle and becomes a 0 when the cycle is finished and the device is ready to accept other instructions again. after the erase security register cycle has finished the write enable latch (wel) bit in the status register is cleared to 0. the security register lock bits (lb3 - 1) in the status register - 2 can be used to otp protect the security registers. once a lock bit is set to 1, the corresponding security register will be permanently locke d, erase security register instruction to that register will be ignored (refer to section 7.1.8 for detail descriptions). figure 5 2 . erase security registers instruction 32 - bit address is required when the device is operating in 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (44h) high impedance 8 9 29 30 31 24-bit address 23 22 2 1 0 * mode 0 mode 3 = msb *
w25q256jv - 71 - 8.2.44 pr ogram security registers (42h) the program security register instruction is similar to the page program instruction. it allows from one byte to 256 bytes of security register data to be programmed at previously erased (ffh) memory locations. a write enable instruction must be executed before the device will accept the program security register instruction (status register bit wel= 1). the instruction is initiated by driving the /cs pin low then shifting the instruction code 42h followed by a 24/32 - bit add ress (a23/a31 - a0) and at least one data byte, into the di pin. the /cs pin must be held low for the entire length of the instruction while data is being sent to the device. address {a23/a31} - 16 a15 - 12 a11 - 8 a7 - 0 security register #1 00h /0000h 0 0 0 1 0 0 0 0 byte address security register #2 00h /0000h 0 0 1 0 0 0 0 0 byte address security register #3 00h /0000h 0 0 1 1 0 0 0 0 byte address the program security register instruction sequence is shown in figure 53 . the security register lock bits (lb3 - 1) in the status register - 2 can be used to otp protect the security registers. once a lock bit is set to 1, the corresponding security register will be permanently locked, program security register instruction to that register will be ignored (see 7.1.8, 8.2 .25 for detail descriptions). figure 5 3 . program security registers instruction 32 - bit address is required when the device is operating in 4 - byte address mode /cs clk di (io 0 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (42h) 8 9 10 28 29 30 39 24-bit address 23 22 21 3 2 1 * /cs clk di (io 0 ) 40 41 42 43 44 45 46 47 data byte 2 48 49 50 52 53 54 55 2072 7 6 5 4 3 2 1 0 51 39 0 31 0 32 33 34 35 36 37 38 data byte 1 7 6 5 4 3 2 1 * mode 0 mode 3 data byte 3 2073 2074 2075 2076 2077 2078 2079 0 data byte 256 * 7 6 5 4 3 2 1 0 * 7 6 5 4 3 2 1 0 * = msb *
w25q256jv publication release date: september 20, 2016 - 72 - revision b 8.2.45 read security registers (48h) the read security register instruction is similar to the fast read instruction and allows one or more data bytes to be sequentially read from one of the four security registers. the instruction is initiated by driving the /cs pin low and then shifting the instruction code 48h followed by a 24/32 - bit address (a23/a3 1 - a0) and eight dummy clocks into the di pin. the code and address bits are latched on the rising edge of the clk pin. after the address is received, the data byte of the addressed memory location will be shifted out on the do pin at the falling edge of clk with most significant bit (msb) first. the byte address is automatically incremented to the next byte address after each byte of data is shifted out. once the byte address reaches the last byte of the register (byte address ffh), it will reset to addre ss 00h, the first byte of the register, and continue to increment. the instruction is completed by driving /cs high. the read security register instruction sequence is shown in figure 54 . if a read security register instruction is issued while an erase, pr ogram or write cycle is in process (busy=1) the instruction is ignored and will not have any effects on the current cycle. the read security register instruction allows clock rates from d.c. to a maximum of f r (see ac electrical characteristics). address {a23/a31} - 16 a15 - 12 a11 - 8 a7 - 0 security register #1 00h /0000h 0 0 0 1 0 0 0 0 byte address security register #2 00h /0000h 0 0 1 0 0 0 0 0 byte address security register #3 00h /0000h 0 0 1 1 0 0 0 0 byte address figure 5 4 . read security registers in struction 32 - bit address is required when the device is operating in 4 - byte address mode /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (48h) high impedance 8 9 10 28 29 30 31 24-bit address 23 22 21 3 2 1 0 data out 1 * /cs clk di (io 0 ) do (io 1 ) 32 33 34 35 36 37 38 39 dummy byte high impedance 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 7 6 5 4 3 2 1 0 7 data out 2 * 7 6 5 4 3 2 1 0 * 7 6 5 4 3 2 1 0 43 31 0 = msb *
w25q256jv - 73 - 8.2.46 individual block/sector lock (36h) the individual block/sector lock provides an alternative way to protect the memory array from adverse erase/program. in order to u se the individual block/sector locks, the wps bit in status register - 3 must be set to 1. if wps=0, the write protection will be determined by the combination of cmp, tb, bp[3:0] bits in the status registers. the individual block/sector lock bits are volati le bits. the default values after device power up or after a reset are 1, so the entire memory array is being protected. to lock a specific block or sector as illustrated in figure 4d, an individual block/sector lock command must be issued by driving /cs l ow, shifting the instruction code 36h into the data input (di) pin on the rising edge of clk, followed by a 24/32 - bit address and then driving /cs high. figure 5 5 . individual block/sector lock instruction 32 - bit address is required when the device is operating in 4 - byte address mode / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 3 6 h ) h i g h i m p e d a n c e 8 9 2 9 3 0 3 1 2 4 - b i t a d d r e s s 2 3 2 2 2 1 0 * m o d e 0 m o d e 3 = m s b *
w25q256jv publication release date: september 20, 2016 - 74 - revision b 8.2.47 individual block/sector unlock (39h) the individual block/sector lock provides an alternative way to protect the memory array from adverse erase/program. in order to use the individual block/sector locks, the wps bit in status register - 3 must be set to 1. if wps=0, the write protection will be determined by the combination of cmp, tb, bp[3:0] bits in the status registers. the individual block/sector lock bits are volatile bits. the default values after device power up or after a reset are 1, so the entire memory array is being protected. to unlock a specific block or sector as illustrated in figure 4d, an individual block/sector unlock command must be issued by driving /cs low, shifting the instruction code 39h into the data input (di) pin on the rising edge of clk, followed by a 24/32 - bit address and then driving /cs high. figure 56 . individual block unlock instruction 32 - bit address is required when the device is operating in 4 - byte address mode / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 3 9 h ) h i g h i m p e d a n c e 8 9 2 9 3 0 3 1 2 4 - b i t a d d r e s s 2 3 2 2 2 1 0 * m o d e 0 m o d e 3 = m s b *
w25q256jv - 75 - 8.2.48 read block/secto r lock (3dh) the individual block/sector lock provides an alternative way to protect the memory array from adverse erase/program. in order to use the individual block/sector locks, the wps bit in status register - 3 must be set to 1. if wps=0, the write prot ection will be determined by the combination of cmp, tb, bp[3:0] bits in the status registers. the individual block/sector lock bits are volatile bits. the default values after device power up or after a reset are 1, so the entire memory array is being pro tected. to read out the lock bit value of a specific block or sector as illustrated in figure 4d, a read block/sector lock command must be issued by driving /cs low, shifting the instruction code 3dh into the data input (di) pin on the rising edge of cl k, followed by a 24/32 - bit address. the block/sector lock bit value will be shifted out on the do pin at the falling edge of clk with most significant bit ( msb) first as shown in figure 57 . if the least significant bit (lsb) is 1, the corresponding block/s ector is locked; if lsb=0, the corresponding block/sector is unlocked, erase/program operation can be performed. figure 57 . read block lock instruction 32 - bit address is required when the device is operating in 4 - byte address mode / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 i n s t r u c t i o n ( 3 d h ) h i g h i m p e d a n c e 8 9 1 0 2 8 2 9 3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 x x x x x x x 0 2 4 - b i t a d d r e s s 2 3 2 2 2 1 3 2 1 0 l o c k v a l u e o u t * * = m s b * m o d e 0 m o d e 3
w25q256jv publication release date: september 20, 2016 - 76 - revision b 8.2.49 global block/sector lock (7eh) all block/sector lock bits can be set to 1 by the global block/sector lock instruction. the command must be issued by driving /cs low, shifting the instruction code 7eh into the data input (di) pin on the rising edge of clk, and then driving /cs high. figure 58 . global block lock instruction for spi 8.2.50 global block/sector unlock (98h) all block/sector lock bits can be set to 0 by the global block/sector unlock instruction. the command must be issued by driving /cs l ow, shifting the instruction code 98h into the data input (di) pin on the rising edge of clk, and then driving /cs high. figure 59 . global block unlock instruction / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 m o d e 0 m o d e 3 i n s t r u c t i o n ( 7 e h ) h i g h i m p e d a n c e / c s c l k d i ( i o 0 ) d o ( i o 1 ) m o d e 0 m o d e 3 0 1 2 3 4 5 6 7 m o d e 0 m o d e 3 i n s t r u c t i o n ( 9 8 h ) h i g h i m p e d a n c e
w25q256jv - 77 - 8.2.51 enable reset (66h) and reset device (99h) because of the small package and the limi tation on the number of pins, the w25q 256jv provide a software reset instruction instead of a dedicated reset pin. once the reset instruction is accepted, any on - going internal operations will be terminated and the device will return to its default power - o n state and lose all the current volatile settings, such as volatile status register bits, write enable latch (wel) status, program/erase suspend status, read parameter setting (p7 - p0), continuous read mode bit setting (m7 - m0) and wrap bit setting (w6 - w4). enable reset (66h) and reset (99h) instructions can be issued in spi. to avoid accidental reset, both instructions must be issued in sequence. any other commands other than reset (99h) after the enable reset (66h) command will disable the reset e nable state. a new sequence of enable reset (66h) and reset (99h) is needed to reset the device. once the reset command is accepted by the device, the device will take approximately trst=30us to reset. during this period, no command will be accepted. data corruption may happen if there is an on - going or suspended internal erase or program operation when reset command sequence is accepted by the device. it is recommended to check the busy bit and the sus bit in status register before issuing the reset c ommand sequence. figure 60 . enable reset and reset instruction sequence mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (99h) mode 0 mode 3 /cs clk di (io 0 ) do (io 1 ) mode 0 mode 3 0 1 2 3 4 5 6 7 instruction (66h) high impedance
w25q256jv publication release date: september 20, 2016 - 78 - revision b 9. electrical character istics 9.1 absolute maximum ratings ( 1 ) parameters symbol conditions range unit supply voltage vcc C 0.6 to + 4 .6 v voltage applied to any pin v io relative to ground C 0.6 to vcc +0.4 v transient voltage on any pin v iot <20ns transient relative to ground C 2 .0 to vcc+ 2 .0 v storage temperature t stg C 65 to +150 c lead temperature t lead see note ( 2 ) c electrostatic discharge voltage v es d human body model ( 3 ) C 2000 to +2000 v notes: 1 . this device has been designed and tested for the specified operation ranges. proper operation outside of these levels is not guaranteed. exposure to absolute maximum ratings may affect device reliability. exposure beyond absolut e maximum ratings may cause permanent damage. 2 . compliant with jedec standard j - std - 20c for small body sn - pb or pb - free (green) assembly and the european directive on restrictions on hazardous substances (rohs) 2002/95/eu. 3 . jedec std jesd22 - a114a (c1=100 pf, r1=1500 ohms, r2=500 ohms). 9.2 operating ranges parameter symbol conditions spec unit min max supply voltage (1) vcc f r = 133mhz , f r = 50 mhz 3.0 3.6 v f r = 104mhz , f r = 50 mhz 2.7 3.0 v ambient temperature, operating t a industrial C 40 +85 c note: 1. vcc voltage during read can operate across the min and max range but should not exceed 10% of the programming (erase/write) voltage.
w25q256jv - 79 - 9.3 power - up power - down timing and requirements parameter symbol spec unit min max v cc (min) to /cs low t vsl (1) 20 s time delay before write instruction t puw (1) 5 ms write inhibit threshold voltage v wi (1) 1.0 2.0 v note: 1. these parameters are characterized only. figure 65a. power - up timing and voltage levels figure 65b. power - up, power - down requirement vcc tvsl read instructions allowed device is fully accessible tpuw /cs must track vcc program, erase and write instructions are ignored reset state vcc (max) vcc (min) v wi time vcc time / cs must track vcc during vcc ramp up / down / cs
w25q256jv publication release date: september 20, 2016 - 80 - revision b 9.4 dc electrical characteristics parameter symbol conditions spec unit min typ max input capacitance c in (1) v in = 0v 6 pf output capacitance cout (1) v out = 0v 8 pf input leakage i li 2 a i/o leakage i lo 2 a standby current i cc 1 /cs = vcc, vin = gnd or vcc 10 6 0 a power - down current i cc 2 /cs = vcc, vin = gnd or vcc 1 20 a current read data / dual /quad 50 mhz (2) i cc 3 c = 0.1 vcc / 0.9 vc c do = open 15 ma current read data / dual output read /quad output read 104 mhz (2) i cc 3 c = 0.1 vcc / 0.9 vcc do = open 20 ma current write status register i cc 4 /cs = vcc 20 25 ma current page program i cc 5 /cs = vcc 20 25 ma current sector/bl ock erase i cc 6 /cs = vcc 20 25 ma current chip erase i cc 7 /cs = vcc 20 25 ma input low voltage v il C 0.5 vcc x 0.3 v input high voltage v ih vcc x 0.7 vcc + 0.4 v output low voltage v ol i ol = 100 a 0.2 v output high voltage v oh i oh = C 100 a vcc C 0.2 v notes: 1 . tested on sample basis and specified through design and characterization data. ta = 25 c, vcc = 3.0 v. 2 . checker board pattern.
w25q256jv - 81 - 9.5 ac measurement conditions parameter symbol spec unit min max load capacitance c l 30 pf input rise and fall times t r , t f 5 ns input pulse voltages v in 0. 1 vcc to 0. 9 vcc v input timing reference voltages in 0.3 vcc to 0.7 vcc v output timing reference voltages o ut 0. 5 vcc to 0. 5 vcc v note: 1. output hi - z is defined as the point where da ta out is no longer driven. figure 66 . ac measurement i/o waveform input and output timing reference levels input levels 0.9 vcc 0.1 vcc 0.5 vcc
w25q256jv publication release date: september 20, 2016 - 82 - revision b 9.6 ac electrical characteristics (6) description symbol alt spec unit min typ max clock frequency except for read data (03h) & dtr instructions (3.0v - 3.6v) f r f c1 d.c. 133 mhz clock frequency except for read data (03h) & dtr instructions( 2.7v - 3.0v) f r f c1 d.c. 104 mhz clock frequency for read data instruction ( 03h ) f r d.c. 50 mhz clock high, low time for all instructions except for read data (03h) t clh , t cll ( 1) 4 5%pc ns clock high, low time for read data (03h) instruction t crlh , t crll ( 1) 4 5%pc ns clock rise time peak to peak t clch ( 2) 0.1 v/ns clock fall time peak to peak t chcl ( 2) 0.1 v/ns /cs active setup time relative to clk t slc h t css 5 ns /cs not active hold time relative to clk t chsl 5 ns data in setup time t dvch t dsu 2 ns data in hold time t chdx t dh 3 ns /cs active hold time relative to clk t chsh 3 ns /cs not active setup time relative to clk t shch 3 ns /cs deselect time ( d uring read) t shsl 1 t csh 10 ns /cs deselect time (d uring erase or program or write) t shsl 2 t csh 50 ns output disable time t shqz ( 2) t dis 7 ns clock low to output valid 2.7v - 3.0v / 3.0v - 3.6v t clqv 1 t v 1 6 ns output hold time t clqx t ho 1.5 ns continued C next page
w25q256jv - 83 - 9.7 ac electrical characteristics ( contd) description symbol alt spec unit min typ max /cs high to power - down mode t dp ( 2) 3 s /cs high to standby mode without id read t res 1 ( 2) 3 s /cs high to standb y mode with id read t res 2 ( 2) 1.8 s /cs high to next instruction after suspend t sus ( 2) 20 s /cs high to next instruction after reset t rst ( 2) 30 s /reset pin low period to reset the device t reset ( 2) 1 ( 4 ) s write status register time t w 10 15 ms page program time t pp 0.7 3 ms sector erase time (4kb) t se 50 400 ms block erase time ( 32 kb) t be 1 120 1,600 ms block erase time (64kb) t be 2 150 2,000 ms chip erase time t ce 80 400 s notes: 1. clock high + clock low must be less than or equal to pc. pc = 1/fc (max . ) 2. value guaranteed by design and/or characterization, not 100% tested in production. 3. only applicable as a constraint for a write status register instruction when srp =1 . 4. it is possible to reset the device with shorter treset (as short as a few hundred ns), a 1us minimum is recommended to ensure reliable operation. 5. tested on sample basis and specified through design and characterization data. ta = 25 c, vcc = 3.0v 6. 4 - bytes address alignment for quad read: read address start fro m a1,a0=0,0
w25q256jv publication release date: september 20, 2016 - 84 - revision b 9.8 serial output timing 9.9 serial input timing /cs clk io output tclqx tclqv tclqx tclqv tshqz tcll lsb out tclh msb out /cs clk io input tchsl msb in tslch tdvch tchdx tshch tchsh tclch tchcl lsb in tshsl
w25q256jv - 85 - 9.10 package specifications 9.11 8 - pad wson 8x6 - mm (package code e) symbol millimeters inches min nom max min nom max a 0.70 0.75 0.80 0.028 0. 030 0.031 a1 0.00 0.02 0.05 0.000 0.001 0.002 b 0.35 0.40 0.48 0.014 0.016 0.019 c --- 0.20 ref. --- --- 0.008 ref. --- d 7.90 8.00 8.10 0.311 0.315 0.319 d2 3.35 3.40 3.45 0.132 0.134 0.136 e 5.90 6.00 6.10 0.232 0.236 0.240 e2 4.25 4.30 4.3 5 0.167 0.169 0.171 e 1.27 bsc 0.050 bsc l 0.45 0.50 0.55 0.018 0.020 0.022 y 0.00 --- 0.05 0.000 --- 0.002
w25q256jv publication release date: september 20, 2016 - 86 - revision b 9.12 16 - pin soic 300 - mil (package code f) symbol millimeters inches min nom max min nom max a 2.36 2.49 2.64 0.093 0.098 0.104 a1 0. 10 --- 0.30 0.004 --- 0.012 a2 --- 2.31 --- --- 0.091 --- b 0.33 0.41 0.51 0.013 0.016 0.020 c 0.18 0.23 0.28 0.007 0.009 0.011 d 10.08 10.31 10.49 0.397 0.406 0.413 e 10.01 10.31 10.64 0.394 0.406 0.419 e1 7.39 7.49 7.59 0.291 0.295 0.299 e 1.27 bs c 0.050 bsc l 0.38 0.81 1.27 0.015 0.032 0.050 y --- --- 0.076 --- --- 0.003 0 --- 8 0 --- 8
w25q256jv - 87 - 9.13 24 - ball tfbga 8x6 - mm (package code b, 5x5 - 1 ball array) symbol millimeters inches min nom max min nom max a --- --- 1.20 --- --- 0 .047 a1 0.26 0.3 1 0.3 6 0.010 0.012 0.014 a2 --- 0.85 --- --- 0.033 --- b 0.35 0.40 0.45 0.014 0.016 0.018 d 7.90 8.00 8.10 0.311 0.315 0.319 d1 4.00 bsc 0.157 bsc e 5.90 6.00 6.10 0.232 0.236 0.240 e1 4.00 bsc 0.157 bsc se 1.00 typ 0.039 typ sd 1.00 typ 0.039 typ e 1.00 bsc 0.039 bsc ccc --- --- 0.10 --- --- 0.0039 note: ball land: 0.45mm. ball opening: 0.35mm pcb ball land suggested <= 0.35mm
w25q256jv publication release date: september 20, 2016 - 88 - revision b 9.14 24 - ball tfbga 8x6 - mm (package code c, 6x4 ball array) symbol millimeters inches min nom max min nom max a --- --- 1.20 --- --- 0.047 a1 0.25 0.30 0.35 0.01 0 0.012 0.014 b 0.35 0.40 0.45 0.014 0.016 0.018 d 7.95 8.00 8.05 0.313 0.315 0.317 d1 5.00 bsc 0.197 bsc e 5.95 6.00 6.05 0.234 0.236 0.238 e1 3.00 bsc 0.118 bsc e 1.00 bsc 0.039 bsc ccc --- --- 0.10 --- --- 0.039 note: ball land: 0.45mm. ball opening: 0.35mm pcb ball land suggested <= 0.35mm
w25q256jv - 89 - 9.15 ordering information note s: 1. the w prefix and the temperature designator i are not included on the part marking. 2. standard bulk shipments are in tube (shape e). please specify alternate packing method, such as tape and reel (shape t) or tray (shape s), when placing orders. 3. for shipments with special order options, please contact winbond . w (1) 25q 256j v x i (1) w = winbond 25 q = s pi flash serial flash memory with 4 kb sectors, dual /quad i/o 256j = 256m - bit v = 2.7v to 3.6v f = 16 - pin soic 300 - mil e = 8 - pad wson 8x6 mm b = 24 - ball tfbga 8x6 - mm (5x5 ball array) c = 24 - ball tfbga 8x6 - mm (6x4 ball array) i = industrial ( - 40 c to +85c) ( 2,3 ) q = green package with qe=1 in status register - 2
w25q256jv publication release date: september 20, 2016 - 90 - revision b 9.16 valid part numbers and top side marking the following table provides the valid part numbers for the w25q 256jv spiflash memory. please contact winbond for specific availability by density and p ackage type. winbond spiflash memories use a 12 - digit product number for ordering. however, due to limited space, the top side marking on all packages uses an abbreviated 10 - digit number. package type density product number top side marking f soic - 16 300mil 256m - bit w25q256jvfi q 25q256jvf q e wson - 8 8x6mm 256m - bit w25q256jvei q 25q256jve q b tfbga - 24 8x6mm (5x5 - 1 ball array) 256m - bit w25q256jvbi q 25q256jvb q c tfbga - 24 8x6mm (6x4 ball array) 256m - bit w25q256jvci q 25q256jvc q
w25q256jv - 91 - 10. revision history version date page description a 0 4 / 01 /2013 new create preliminary b 09/20/2016 removed preliminary trademarks winbond and spiflash are trademarks of winbond e lectronics corporation. all other marks are the property of their respective owner. important notice winbond products are not designed, intended, authorized or warranted for use as components in systems or equipment intended for surgical implantation, atom ic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, or for other applications intended to support or sustain life. furthermore, winbond products are not i ntended for applications wherein failure of winbond products could result or lead to a situation wherein personal injury, death or severe property or environmental damage could occur. winbond customers using or selling these products for use in such applic ations do so at their own risk and agree to fully indemnify winbond for any damages resulting from such improper use or sales. information in this document is provided solely in connection with winbond products. winbond reserves the right to make changes, corrections, modifications or improvements to this document and the products and services described herein at any time, without notice.


▲Up To Search▲   

 
Price & Availability of W25Q256JVBIQ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X